Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 13, 2013 03:57 PM by Jay Bright
Feb 12, 2013 06:21 PM|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 13, 2013 12:28 AM|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 03:57 PM|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?