{"id":173,"date":"2010-07-12T13:36:42","date_gmt":"2010-07-12T18:36:42","guid":{"rendered":"http:\/\/www.compdigitec.com\/labs\/?p=173"},"modified":"2010-07-12T13:36:42","modified_gmt":"2010-07-12T18:36:42","slug":"solving-handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-asp-net-4-0","status":"publish","type":"post","link":"http:\/\/www.compdigitec.com\/labs\/2010\/07\/12\/solving-handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-asp-net-4-0\/","title":{"rendered":"Solving Handler &#8220;PageHandlerFactory-Integrated&#8221; has a bad module &#8220;ManagedPipelineHandler&#8221; in ASP.NET 4.0"},"content":{"rendered":"<p><a href=\"http:\/\/www.compdigitec.com\/labs\/wp-content\/uploads\/2010\/07\/badmodule.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignright size-full wp-image-174\" title=\"Bad Module\" src=\"http:\/\/www.compdigitec.com\/labs\/wp-content\/uploads\/2010\/07\/badmodule.png\" alt=\"\" width=\"614\" height=\"446\" \/><\/a>If you have just installed Visual Studio 2010 or the .NET 4.0 Framework and trying to host ASP.Net 4.0 applications doesn&#8217;t work for you and results in the following error message:<\/p>\n<p><strong>Handler &#8220;PageHandlerFactory-Integrated&#8221; has a bad module &#8220;ManagedPipelineHandler&#8221;<\/strong><\/p>\n<p>It means that you haven not yet run the aspnet_iisreg.exe executable needed to register the ASP.NET 4 framework with the IIS 7 webserver. In order to do so, open a command prompt and type in the following:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_regiis.exe -i<\/pre>\n<p>Substitute <strong>v4.0.30319<\/strong> for what other past or future ASP.NET versions. To uninstall the ASP.NET 4 (e.g. for when you are done playing around with it and would like to do some work):<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">c:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_regiis.exe -u<\/pre>","protected":false},"excerpt":{"rendered":"<p>If you have just installed Visual Studio 2010 or the .NET 4.0 Framework and trying to host ASP.Net 4.0 applications doesn&#8217;t work for you and results in the following error message: Handler &#8220;PageHandlerFactory-Integrated&#8221; has a bad module &#8220;ManagedPipelineHandler&#8221; It means that you haven not yet run the aspnet_iisreg.exe executable needed to register the ASP.NET 4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[691,692,680,289,690,693,694,688,689],"_links":{"self":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/173"}],"collection":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":0,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/173\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/categories?post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/tags?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}