{"id":49,"date":"2013-10-24T08:48:00","date_gmt":"2013-10-24T13:48:00","guid":{"rendered":"https:\/\/www.chrystalsander.com\/blog\/?p=49"},"modified":"2013-10-24T08:48:00","modified_gmt":"2013-10-24T13:48:00","slug":"error-http-error-500-2-internal-server-error","status":"publish","type":"post","link":"https:\/\/www.chrystalsander.com\/blog\/?p=49","title":{"rendered":"ERROR : HTTP Error 500.2* &#8211; Internal Server Error"},"content":{"rendered":"<div>\n<div>\n<p><b><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>ERROR:<o:p><\/o:p><\/span><\/b><\/p>\n<p><b><i><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:#C00000'>HTTP Error 500.2* &#8211; Internal Server Error<br \/>An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.<o:p><\/o:p><\/span><\/i><\/b><\/p>\n<p><b><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>CAUSE:<o:p><\/o:p><\/span><\/b><\/p>\n<p><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>IIS7 and above default to using &#8220;integrated pipeline mode&#8221;; whereas, IIS6 and below utilize what is now deemed &#8220;classic mode.&#8221;&nbsp; In classic mode, IIS uses ISAPI extensions; whereas, integrated mode handles all requests through a pipeline of IIS and is integrated with SP.NET through this same pipeline.&nbsp; Integrated mode is much more efficient with ASP.NET.&nbsp; Read more about how to enhance your application with integrated pipelines <\/span><a href=\"http:\/\/msdn.microsoft.com\/en-us\/magazine\/cc135973.aspx\" target=\"_blank\" rel=\"noopener\"><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\"'>here<\/span><\/a><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>.<o:p><\/o:p><\/span><\/p>\n<p><b><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>RESOLUTIONS:<o:p><\/o:p><\/span><\/b><\/p>\n<p><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>There are multiple resolutions to this problem; however, depending on your application, the quickest way to resolve this problem can be to:<o:p><\/o:p><\/span><\/p>\n<p style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'><span style='mso-list:Ignore'>1.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><![endif]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>Open IIS<o:p><\/o:p><\/span><\/p>\n<p style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'><span style='mso-list:Ignore'>2.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><![endif]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>Navigate to the app pool for your application<o:p><\/o:p><\/span><\/p>\n<p style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'><span style='mso-list:Ignore'>3.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><![endif]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>Switch from &#8220;integrated mode&#8221; to &#8220;classic mode.&#8221;<o:p><\/o:p><\/span><\/p>\n<p><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>Other possible options:<o:p><\/o:p><\/span><\/p>\n<p style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>1.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><![endif]>If your application is running legacy code, then update your code.<o:p><\/o:p><\/p>\n<p style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>2.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><![endif]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>If you are running in 64-bit Windows then navigate to &#8220;Advanced Settings&#8221; and set &#8220;Enable 32-Bit Applications&#8221; = True.<\/span><o:p><\/o:p><\/p>\n<p style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>3.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><![endif]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>Try keeping your default website in the default app pool, ie Integrated Pipeline mode, but keep your virtual directory in classic mode.<\/span><o:p><\/o:p><\/p>\n<p style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>4.<span style='font:7.0pt \"Times New Roman\"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><![endif]><span style='font-size:10.0pt;line-height:115%;font-family:\"Arial\",\"sans-serif\";color:black'>This last option is debatable and may only be considered as a temporary fix.&nbsp; In your web.config, insert the following:<\/span><o:p><\/o:p><\/p>\n<p style='margin-left:.5in'><span style='font-size:9.0pt;font-family:\"Courier New\";color:#002060'>&lt;configuration&gt;<o:p><\/o:p><\/span><\/p>\n<p style='margin-left:.5in'><span style='font-size:9.0pt;font-family:\"Courier New\";color:#002060'>&nbsp; &lt;system.webServer&gt;<o:p><\/o:p><\/span><\/p>\n<p style='margin-left:.5in'><span style='font-size:9.0pt;font-family:\"Courier New\";color:#002060'>&nbsp;&nbsp;&nbsp; &lt;validation validateIntegratedModeConfiguration=&quot;false&quot; \/&gt;<o:p><\/o:p><\/span><\/p>\n<p style='margin-left:.5in'><span style='font-size:9.0pt;font-family:\"Courier New\";color:#002060'>&nbsp; &lt;\/system.webServer&gt;<o:p><\/o:p><\/span><\/p>\n<p style='margin-left:.5in'><span style='font-size:9.0pt;font-family:\"Courier New\";color:#002060'>&lt;\/configuration&gt;<o:p><\/o:p><\/span><\/p>\n<p><o:p>&nbsp;<\/o:p><\/p>\n<p><o:p>&nbsp;<\/o:p><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>ERROR: HTTP Error 500.2* &#8211; Internal Server ErrorAn ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. CAUSE: IIS7 and above default to using &#8220;integrated pipeline mode&#8221;; whereas, IIS6 and below utilize what is now deemed &#8220;classic mode.&#8221;&nbsp; In classic mode, IIS uses ISAPI extensions; whereas, integrated mode handles all &hellip; <a href=\"https:\/\/www.chrystalsander.com\/blog\/?p=49\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ERROR : HTTP Error 500.2* &#8211; Internal Server Error&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49"}],"collection":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":0,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}