{"id":10010,"date":"2026-01-09T11:37:01","date_gmt":"2026-01-09T02:37:01","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=10010"},"modified":"2026-01-14T11:34:05","modified_gmt":"2026-01-14T02:34:05","slug":"on-error-resume-next","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=10010","title":{"rendered":"On Error Resume Next"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u2705 \uc62c\ubc14\ub978 \ud328\ud134 (\uc5d0\ub7ec \ubc94\uc704 \uc81c\ud55c)<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">On Error Resume Next\n\ndbCon.Execute SQL\n\nIf Err.Number &lt;&gt; 0 Then\n   ' DB \uc624\ub958 \ucc98\ub9ac\nEnd If\n\nOn Error GoTo 0   ' \u2705 \uc5ec\uae30\uc11c \uc815\uc0c1 \ubcf5\uadc0<\/pre><\/div>\n\n\n\n<p>\u27a1\ufe0f <strong>DB \uc2e4\ud589 \uad6c\uac04\uc5d0\uc11c\ub9cc \uc624\ub958 \ubb34\uc2dc<\/strong><br>\u27a1\ufe0f \uc774\ud6c4 \ub85c\uc9c1\uc740 \uc815\uc0c1\uc801\uc73c\ub85c \uc624\ub958 \uac10\uc9c0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83e\udde0 \ub0b4\ubd80\uc801\uc73c\ub85c \ubb34\uc2a8 \uc77c\uc774 \uc77c\uc5b4\ub098\ub098?<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\uba85\ub839<\/th><th>\ub0b4\ubd80 \uc0c1\ud0dc<\/th><\/tr><\/thead><tbody><tr><td><code>On Error Resume Next<\/code><\/td><td>\uc5d0\ub7ec \ubc1c\uc0dd \u2192 Err \uac1d\uccb4\uc5d0 \uc800\uc7a5, \uc2e4\ud589 \uacc4\uc18d<\/td><\/tr><tr><td><code>On Error GoTo 0<\/code><\/td><td>\uc5d0\ub7ec \ubc1c\uc0dd \u2192 \uc989\uc2dc \uc911\ub2e8, ASP \uc624\ub958 \ud398\uc774\uc9c0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u26a0\ufe0f \uc22b\uc790 <code>0<\/code>\uc740 \u201c\uc5d0\ub7ec \ucc98\ub9ac\uae30\ub97c \uc0ac\uc6a9\ud558\uc9c0 \uc54a\ub294\ub2e4\u201d\ub294 \uc758\ubbf8\uc774\uc9c0<br>GoTo \ubb38\ucc98\ub7fc \uc5b4\ub518\uac00\ub85c \uc774\ub3d9\ud558\ub294 \uac8c \uc544\ub2d9\ub2c8\ub2e4.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \uc2e4\ubb34 \ubca0\uc2a4\ud2b8 \ud328\ud134 (\ucd94\ucc9c)<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">On Error Resume Next\nErr.Clear\n\ndbCon.Execute SQL\n\nIf Err.Number &lt;&gt; 0 Then\n    msg = Err.Description\n    Err.Clear\n    On Error GoTo 0\n    Response.Write \"&lt;script&gt;alert('DB \uc624\ub958 \ubc1c\uc0dd');&lt;\/script&gt;\"\n    Response.End\nEnd If\n\nOn Error GoTo 0<\/pre><\/div>\n\n\n\n<p>Classic ASP\uc5d0\uc11c <strong>try\/catch\ucc98\ub7fc \u201c\uad6c\uac04(scope)\uc744 \ub531 \uc798\ub77c\u201d \uc548\uc804\ud558\uac8c \uc4f0\ub294 \uc2e4\ubb34 \ud328\ud134<\/strong>\ub4e4\uc785\ub2c8\ub2e4. \ud575\uc2ec\uc740 <strong><code>On Error Resume Next<\/code>\ub97c \ucd5c\uc18c \ubc94\uc704\ub85c\ub9cc \ucf30\ub2e4\uac00, \ubc18\ub4dc\uc2dc <code>On Error GoTo 0<\/code>\uc73c\ub85c \ubcf5\uad6c<\/strong>\ud558\ub294 \uac81\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uc5ec\ub7ec \uc704\ud5d8 \uad6c\uac04\uc774 \uc788\ub294 \uacbd\uc6b0 (\uc5ec\ub7ec \ubc88 \uc0ac\uc6a9)<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Resume Next \u2192 GoTo 0 \ub97c \uc138\ud2b8\ub85c \ubc18\ubcf5<\/strong><\/p>\n<\/blockquote>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" >&lt;%\n' === \uc704\ud5d8 \uad6c\uac04 1 ===\nOn Error Resume Next\n\nSet obj1 = Server.CreateObject(\"Not.Exist.Object\")\n\nIf Err.Number &lt;&gt; 0 Then\n    Response.Write \"Object1 \uc0dd\uc131 \uc2e4\ud328&lt;br&gt;\"\n    Err.Clear\nEnd If\n\nOn Error GoTo 0\n\n\n' === \uc704\ud5d8 \uad6c\uac04 2 ===\nOn Error Resume Next\n\nDim x\nx = CInt(\"ABC\")   ' \ud0c0\uc785 \ubcc0\ud658 \uc624\ub958\n\nIf Err.Number &lt;&gt; 0 Then\n    Response.Write \"\ud615 \ubcc0\ud658 \uc624\ub958&lt;br&gt;\"\n    Err.Clear\nEnd If\n\nOn Error GoTo 0\n\n\n' === \uc704\ud5d8 \uad6c\uac04 3 ===\nOn Error Resume Next\n\nDim y\ny = 100 \/ 0\n\nIf Err.Number &lt;&gt; 0 Then\n    Response.Write \"\ub098\ub217\uc148 \uc624\ub958&lt;br&gt;\"\n    Err.Clear\nEnd If\n\nOn Error GoTo 0\n\nResponse.Write \"\ubaa8\ub4e0 \uad6c\uac04 \ucc98\ub9ac \uc644\ub8cc&lt;br&gt;\"\n%&gt;\n<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>\u2705 \uc62c\ubc14\ub978 \ud328\ud134 (\uc5d0\ub7ec \ubc94\uc704 \uc81c\ud55c) \u27a1\ufe0f DB \uc2e4\ud589 \uad6c\uac04\uc5d0\uc11c\ub9cc \uc624\ub958 \ubb34\uc2dc\u27a1\ufe0f \uc774\ud6c4 \ub85c\uc9c1\uc740 \uc815\uc0c1\uc801\uc73c\ub85c \uc624\ub958 \uac10\uc9c0 \ud83e\udde0 \ub0b4\ubd80\uc801\uc73c\ub85c \ubb34\uc2a8 \uc77c\uc774 \uc77c\uc5b4\ub098\ub098? \uba85\ub839 \ub0b4\ubd80 \uc0c1\ud0dc <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=10010\" title=\"On Error Resume Next\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-10010","post","type-post","status-publish","format-standard","hentry","category-asp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>On Error Resume Next - AuctionPro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.auctionpro.co.kr\/?p=10010\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"On Error Resume Next - AuctionPro\" \/>\n<meta property=\"og:description\" content=\"\u2705 \uc62c\ubc14\ub978 \ud328\ud134 (\uc5d0\ub7ec \ubc94\uc704 \uc81c\ud55c) \u27a1\ufe0f DB \uc2e4\ud589 \uad6c\uac04\uc5d0\uc11c\ub9cc \uc624\ub958 \ubb34\uc2dc\u27a1\ufe0f \uc774\ud6c4 \ub85c\uc9c1\uc740 \uc815\uc0c1\uc801\uc73c\ub85c \uc624\ub958 \uac10\uc9c0 \ud83e\udde0 \ub0b4\ubd80\uc801\uc73c\ub85c \ubb34\uc2a8 \uc77c\uc774 \uc77c\uc5b4\ub098\ub098? \uba85\ub839 \ub0b4\ubd80 \uc0c1\ud0dc [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.auctionpro.co.kr\/?p=10010\" \/>\n<meta property=\"og:site_name\" content=\"AuctionPro\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-09T02:37:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-14T02:34:05+00:00\" \/>\n<meta name=\"author\" content=\"golgol\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"golgol\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010\"},\"author\":{\"name\":\"golgol\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"headline\":\"On Error Resume Next\",\"datePublished\":\"2026-01-09T02:37:01+00:00\",\"dateModified\":\"2026-01-14T02:34:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010\"},\"wordCount\":16,\"commentCount\":0,\"articleSection\":[\"[Dev]ASP\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010\",\"name\":\"On Error Resume Next - AuctionPro\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\"},\"datePublished\":\"2026-01-09T02:37:01+00:00\",\"dateModified\":\"2026-01-14T02:34:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=10010#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"On Error Resume Next\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\",\"name\":\"AuctionPro\",\"description\":\"\uc625\uc158\ud504\ub85c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\",\"name\":\"golgol\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?author=6\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"On Error Resume Next - AuctionPro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.auctionpro.co.kr\/?p=10010","og_locale":"ko_KR","og_type":"article","og_title":"On Error Resume Next - AuctionPro","og_description":"\u2705 \uc62c\ubc14\ub978 \ud328\ud134 (\uc5d0\ub7ec \ubc94\uc704 \uc81c\ud55c) \u27a1\ufe0f DB \uc2e4\ud589 \uad6c\uac04\uc5d0\uc11c\ub9cc \uc624\ub958 \ubb34\uc2dc\u27a1\ufe0f \uc774\ud6c4 \ub85c\uc9c1\uc740 \uc815\uc0c1\uc801\uc73c\ub85c \uc624\ub958 \uac10\uc9c0 \ud83e\udde0 \ub0b4\ubd80\uc801\uc73c\ub85c \ubb34\uc2a8 \uc77c\uc774 \uc77c\uc5b4\ub098\ub098? \uba85\ub839 \ub0b4\ubd80 \uc0c1\ud0dc [...]","og_url":"https:\/\/www.auctionpro.co.kr\/?p=10010","og_site_name":"AuctionPro","article_published_time":"2026-01-09T02:37:01+00:00","article_modified_time":"2026-01-14T02:34:05+00:00","author":"golgol","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"golgol","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.auctionpro.co.kr\/?p=10010#article","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=10010"},"author":{"name":"golgol","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"headline":"On Error Resume Next","datePublished":"2026-01-09T02:37:01+00:00","dateModified":"2026-01-14T02:34:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=10010"},"wordCount":16,"commentCount":0,"articleSection":["[Dev]ASP"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.auctionpro.co.kr\/?p=10010#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.auctionpro.co.kr\/?p=10010","url":"https:\/\/www.auctionpro.co.kr\/?p=10010","name":"On Error Resume Next - AuctionPro","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/#website"},"datePublished":"2026-01-09T02:37:01+00:00","dateModified":"2026-01-14T02:34:05+00:00","author":{"@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"breadcrumb":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=10010#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.auctionpro.co.kr\/?p=10010"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.auctionpro.co.kr\/?p=10010#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/www.auctionpro.co.kr\/"},{"@type":"ListItem","position":2,"name":"On Error Resume Next"}]},{"@type":"WebSite","@id":"https:\/\/www.auctionpro.co.kr\/#website","url":"https:\/\/www.auctionpro.co.kr\/","name":"AuctionPro","description":"\uc625\uc158\ud504\ub85c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.auctionpro.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2","name":"golgol","url":"https:\/\/www.auctionpro.co.kr\/?author=6"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/10010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10010"}],"version-history":[{"count":3,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/10010\/revisions"}],"predecessor-version":[{"id":10017,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/10010\/revisions\/10017"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}