IIS 7 and Above
HTTP Error 500.0 - Internal Server Error
Last post May 26, 2008 07:26 PM by hawaythelads
May 26, 2008 07:40 AM|naijacoder74|LINK
I'm using IIS 7 on my Vista Ultimate machine.
If i load a page using the url http://localhost/SampleServer i get the error below:
If i run the page from my Visua Studio .Net 2005 which mean using the internal IIS server like so
http://localhost:11576/SampleServer it does work:)
Any ideas??? How to configure IIS 7??
Description: This application is running in an application pool that uses the Integrated .NET mode. This is the preferred mode for running ASP.NET applications on the current and future version of
In this mode, the application should not specify ASP.NET module components in the <system.web>/<httpModules> configuration section. Instead, it should use the <system.webServer>/<modules> configuration section to load ASP.NET module components. You have
the following options:
You can migrate the application configuration, including the contents of the <httpModules> configuration section, by using the following from a command line window (the window must be running as Administrator):
%systemroot%\system32\inetsrv\APPCMD.EXE migrate config "Default Web Site/SampleServer"
After you migrate your application, it will run in both Classic and Integrated .NET modes, as well as on downlevel platforms.
You can move the application to the default application pool using the Classic .NET mode by running the following from an command line window (the window must be running as Administrator):
%systemroot%\system32\inetsrv\APPCMD.EXE set app "Default Web Site/SampleServer" /applicationPool:"Classic .NET AppPool"
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.
It is preferred that you migrate this application by using option 1 to take advantage of the benefits provided by the Integrated .NET mode.
Error Code: 0x80070032
Physical Path: C:\inetpub\wwwroot\SampleServer
Logon User: Not yet determined
Logon Method: Not yet determined
Most likely causes:
What you can try:
Microsoft Knowledge Base Articles:
May 26, 2008 07:26 PM|hawaythelads|LINK