{"id":1103,"date":"2014-03-24T06:43:25","date_gmt":"2014-03-24T06:43:25","guid":{"rendered":"http:\/\/www.rezafaisal.net\/?p=1103"},"modified":"2014-03-24T06:43:25","modified_gmt":"2014-03-24T06:43:25","slug":"debugging-vs2013-websites-using-64-bit-iis-express","status":"publish","type":"post","link":"http:\/\/www.rezafaisal.net\/?p=1103","title":{"rendered":"Debugging VS2013 Websites Using 64-bit IIS Express"},"content":{"rendered":"<p>Ketika aplikasi web dijalankan atau didebug pada Visual Studio 2013 maka akan dijalankan IIS Express dan secara default digunakan IIS Express 32-bit (hal ini juga berlakuk pada visual studio versi lain yang menggunakan IIS Express). Dengan lingkungan 32-bit, ada kemungkinan kita akan mendapatkan pesan seperti berikut ini :<\/p>\n<p><a href=\"http:\/\/www.rezafaisal.net\/wp-content\/uploads\/2014\/03\/blog15.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"blog1\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"blog1\" src=\"http:\/\/www.rezafaisal.net\/wp-content\/uploads\/2014\/03\/blog1_thumb5.jpg\" width=\"550\" height=\"399\" \/><\/a><\/p>\n<p>Hal ini terjadi ketika \u201clibrary\u201d yang digunakan adalah untuk lingkungan 64-bit sedangkan IIS Express yang digunakan adalah 32-bit.<\/p>\n<p>Jika ingin mengubah lingkungan IIS Express yang digunakan menjadi 64-bit maka dapat dilakukan beberapa cara, yaitu :<\/p>\n<p>{<strong><em>perintah command line<\/em><\/strong>}<\/p>\n<div id=\"codeSnippetWrapper\" style=\"overflow: auto; cursor: text; font-size: 8pt; border-top: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; border-right: silver 1px solid; width: 97.5%; border-bottom: silver 1px solid; padding-bottom: 4px; direction: ltr; text-align: left; padding-top: 4px; padding-left: 4px; margin: 20px 0px 10px; border-left: silver 1px solid; line-height: 12pt; padding-right: 4px; max-height: 200px; background-color: #f4f4f4\">\n<div id=\"codeSnippet\" style=\"border-top-style: none; overflow: visible; font-size: 8pt; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4\">\n<pre style=\"border-top-style: none; overflow: visible; font-size: 8pt; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: white\">&#160;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-top-style: none; overflow: visible; font-size: 8pt; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4\">reg add HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0\\WebProjects \/v Use64BitIISExpress \/t REG_DWORD \/d 1<\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>{<strong><em>Redit<\/em><\/strong>}<\/p>\n<p>Jalankan regedit, kemudian cari bagian di bawah ini :<\/p>\n<div id=\"codeSnippetWrapper\" style=\"overflow: auto; cursor: text; font-size: 8pt; border-top: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; border-right: silver 1px solid; width: 97.5%; border-bottom: silver 1px solid; padding-bottom: 4px; direction: ltr; text-align: left; padding-top: 4px; padding-left: 4px; margin: 20px 0px 10px; border-left: silver 1px solid; line-height: 12pt; padding-right: 4px; max-height: 200px; background-color: #f4f4f4\">\n<div id=\"codeSnippet\" style=\"border-top-style: none; overflow: visible; font-size: 8pt; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4\">\n<pre style=\"border-top-style: none; overflow: visible; font-size: 8pt; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: white\">&#160;<\/pre>\n<p><!--CRLF--><\/p>\n<pre style=\"border-top-style: none; overflow: visible; font-size: 8pt; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4\">HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0\\WebProjects<\/pre>\n<p><!--CRLF--><\/div>\n<\/div>\n<p>Dan ubah bagian Use64BitIISExpress menjadi 1 seperti pada gambar berikut ini :<\/p>\n<p><a href=\"http:\/\/www.rezafaisal.net\/wp-content\/uploads\/2014\/03\/blog24.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"blog2\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"blog2\" src=\"http:\/\/www.rezafaisal.net\/wp-content\/uploads\/2014\/03\/blog2_thumb4.jpg\" width=\"550\" height=\"468\" \/><\/a><\/p>\n<p>Sekarang jika kita \u201cmenjalankan\/debug\u201d aplikasi web pada Visual Studio maka akan diaktifkan IIS Express 64-bit. <\/p>\n<p>Selamat mencoba.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ketika aplikasi web dijalankan atau didebug pada Visual Studio 2013 maka akan dijalankan IIS Express dan secara default digunakan IIS Express 32-bit (hal ini juga berlakuk pada visual studio versi lain yang menggunakan IIS Express). Dengan lingkungan 32-bit, ada kemungkinan&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1102,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[109,96],"class_list":["post-1103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-softwaredev","tag-iis","tag-vs-2013"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"http:\/\/www.rezafaisal.net\/wp-content\/uploads\/2014\/03\/blog2_thumb4.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1sNAL-hN","_links":{"self":[{"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=\/wp\/v2\/posts\/1103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1103"}],"version-history":[{"count":0,"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=\/wp\/v2\/posts\/1103\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=\/wp\/v2\/media\/1102"}],"wp:attachment":[{"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.rezafaisal.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}