Last post Feb 13, 2013 11:57 AM by Jay Bright
Feb 12, 2013 02:21 PM|Jay Bright|LINK
I'm trying to host an ASP.NET web app on a brand-new Windows Server 2008 VM with IIS 7. I deployed the app, converted it to an application in IIS. However, when I try to view the app, I got the following server error in the application:
HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
Detailed Error Information
Module IIS Web Core
Error Code 0x8007000d
Requested URL http://localhost:80/MyApp/default.aspx
Physical Path C:\inetpub\wwwroot\MyApp\default.aspx
Logon Method Anonymous
Logon User Anonymous
What do I need to do to fix this error?
Feb 12, 2013 08:28 PM|WinAnimesh|LINK
Have you checked if ASP.NET has been installed on the Server. Check
this URL for steps. If ASP.NET is not installed, please installed using command prompt "aspnet_regiis -i"
Hope this helps..
Feb 13, 2013 11:57 AM|Jay Bright|LINK
The "aspnet_regiis -i" command fixed the problem. Thanks a lot!
I had a different error message on a different machine and had submitted a different question (Type load error when trying to host an ASP.NET web app with IIS 7). However, the solution was the same: using the same command. Not sure why the error messages
One thing which still confuses me is that I had checked the .NET Framework Version for the application pool in IIS and had changed it to v4.0. But why I still got the error message until I ran the "aspnet_regiis" command?