Reputation: 61775
I'm creating a new ASP.net website via Visual Studio. I then try to run the default.aspx page it generates, and it throws this error:
I've tried deleting the affected lines as suggested by MSDN but to no avail! I am on Windows 7, with ASP.net installed
If I delete all the lines I get:
Any ideas?
Upvotes: 0
Views: 256
Reputation: 36035
You need to configure the virtual folder for you application in IIS.
Just dropping it as a folder under the default web site isn't enough.
Upvotes: 1