{"id":2117,"date":"2021-09-22T05:56:10","date_gmt":"2021-09-22T05:56:10","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2117"},"modified":"2021-09-22T05:56:10","modified_gmt":"2021-09-22T05:56:10","slug":"iis-http-error-404-17-not-found-static-file-handler","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/","title":{"rendered":"IIS: HTTP Error 404.17 \u2013 Not Found \u2013 Static File Handler"},"content":{"rendered":"<p>While browsing your ASP.NET website (in IIS 7\/7.5\/8\/8.5) you may have experienced the error \u2013<\/p>\n<blockquote><p><em><strong>HTTP Error 404.17 \u2013 Not Found.\u00a0<\/strong><\/em><br \/>\n<em><strong>The requested content appears to be script and will not be served by the static file handler.<\/strong><\/em><\/p><\/blockquote>\n<p>Here is the screenshot of the error.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2118\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-1-300x102.png\" alt=\"HTTP-Error-1\" width=\"768\" height=\"262\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-1-300x102.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-1.png 768w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<h3>Causes<\/h3>\n<p>Following are the two cases in which this error may flash on your screen.<\/p>\n<ol>\n<li>The ASP.NET website has inappropriate request handlers defined in IIS.<\/li>\n<\/ol>\n<ol start=\"2\">\n<li>Required .NET framework has the restriction in\u00a0<strong>\u2018ISAPI and CGI restrictions<\/strong>\u2018 in IIS.<\/li>\n<\/ol>\n<h3>Possible Solution<\/h3>\n<p>Following are the steps that may help you to solve the error.<\/p>\n<ol>\n<li>Access IIS manager\u00a0<strong>(Go to start \u2013 Run \u2013 type \u2018INETMGR\u2019)<\/strong><\/li>\n<\/ol>\n<ol start=\"2\">\n<li>Select the Server Name\u00a0<strong>(System Name)<\/strong><\/li>\n<\/ol>\n<ol start=\"3\">\n<li>Select\u00a0<strong>ISAPI and CGI restrictions<\/strong>\u00a0in right side windowpane.<\/li>\n<\/ol>\n<ol start=\"4\">\n<li>Change the\u00a0<strong>Not Allowed<\/strong>\u00a0restrictions to\u00a0<strong>Allow<\/strong>\u00a0for the\u00a0required framework.<\/li>\n<\/ol>\n<p>See the following image, to allow ISAPI and CGI restrictions<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2119\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-2-300x153.png\" alt=\"HTTP-Error-2\" width=\"768\" height=\"391\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-2-300x153.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-2.png 768w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/p>\n<p>5. If the necessary framework doesn\u2019t exist in ISAPI and CGI restrictions then you need to re-register framework using the following command.<\/p>\n<p>Go to Start -&gt; Run -&gt; and enter the following command in Run window<\/p>\n<p><strong>C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319 \\aspnet_regiis.exe -i<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2120 aligncenter\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-3-300x160.jpg\" alt=\"HTTP-Error-3\" width=\"417\" height=\"222\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-3-300x160.jpg 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-3.jpg 417w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/p>\n<p>This given example for .NET framework 4.0. You can also use the\u00a0same command for any version of .NET framework.<\/p>\n<ol start=\"6\">\n<li>Set required .NET version in the\u00a0application pool.<\/li>\n<\/ol>\n<ol start=\"7\">\n<li>Enable 32-bit Application in the\u00a0application pool.<\/li>\n<\/ol>\n<ol start=\"8\">\n<li>Restart IIS.<\/li>\n<\/ol>\n<p>You can now try browsing the same website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While browsing your ASP.NET website (in IIS 7\/7.5\/8\/8.5) you may have experienced the error \u2013 HTTP Error 404.17 \u2013 Not Found.\u00a0 The requested content appears to be script and will not be served by the static file handler. Here is the screenshot of the error. Causes Following are the two cases in which this error [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-2117","post","type-post","status-publish","format-standard","hentry","category-tech-support"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>IIS: HTTP Error 404.17 \u2013 Not Found \u2013 Static File Handler - OWS KB<\/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:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IIS: HTTP Error 404.17 \u2013 Not Found \u2013 Static File Handler - OWS KB\" \/>\n<meta property=\"og:description\" content=\"While browsing your ASP.NET website (in IIS 7\/7.5\/8\/8.5) you may have experienced the error \u2013 HTTP Error 404.17 \u2013 Not Found.\u00a0 The requested content appears to be script and will not be served by the static file handler. Here is the screenshot of the error. Causes Following are the two cases in which this error [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-22T05:56:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-1-300x102.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/HTTP-Error-1.png\",\"width\":768,\"height\":262,\"caption\":\"HTTP-Error-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/\",\"name\":\"IIS: HTTP Error 404.17 \\u2013 Not Found \\u2013 Static File Handler - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/#primaryimage\"},\"datePublished\":\"2021-09-22T05:56:10+00:00\",\"dateModified\":\"2021-09-22T05:56:10+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/iis-http-error-404-17-not-found-static-file-handler\/\",\"name\":\"IIS: HTTP Error 404.17 \\u2013 Not Found \\u2013 Static File Handler\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2117"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2117\/revisions"}],"predecessor-version":[{"id":2121,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2117\/revisions\/2121"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}