I've just change the existing virtual dir ASP.net version from 2.0 to 4.0 and browsed previous working web page.
But right now I'm getting an error saying "HTTP Error 404 - File or directory not found."
Any ideas? 开发者_开发知识库
Revert it back to ASP.net 2.0, problem went away. I've also executed "aspnet_regiis.exe -i", it didn't work.
What's the path to your home page? Check that your home page is included as a "Default Document" in IIS. If you're using an Application Pool, try changing the Managed Pipeline Mode to Classic, and also check that the correct .NET version is set for it (App Pool basic settings).
At the server level, in INETMGR, select feature "ISAPI and CGI Restrictions" and set all .NET 4.0 entries to "Allow"
- Click "Web Service Extensions"
- Select "ASP.NET v4.0"
- Click "Allow" button
精彩评论