When trying to create a new C# ASP.NET Web application, after entering
the location (e.g., http://localhost/MyWebTest), click OK, I get the
following error:
"The Web server reported the following error when attempting to create
or open the Web project located at the following URL:
'http://localhost/MyWebTest'. 'HTTP/1.1 500 Server Error'.
When I look at the event log I see:
"The server failed to load application '/LM/W3SVC'. The error was
'The specified metadata was not found.'." Eveny ID 36. I created
MyWebTest in IIS before trying to create the project.
I can display a .htm file there (e.g., http://localhost/readme.htm)
but not a simple .aspx file. IE displays: "Server Application Error -
The server has encountered an error while loading an application
during the processing of your request. Please refer to the event log
for more detail information. Please contact the server administrator
for assistance." The event log is the same as above.
I have uninstalled/reinstalled IIS, reinstalled the 1.1 Framework (and
all the other required components, reinstalled .NET 2003 (no
uninstall, just reinstall). I also have run aspnet_regiis -i.
aspenet_regiis -lk displays:
W3SVC/ 1.1.4322.0
W3SVC/1/ROOT/ 1.1.4322.0
W3SVC/1/ROOT/Printers/ 1.1.4322.0
Can anyone help?