I recently used Visual Studio. NET 2003 to develop and debug ASP. NET. ProgramWhen you encounter two "cannot start debugging on the Web server" problems, the solution is as follows:
For the first time, in the "Security" of the Internet option, add the localhost for debugging to a trusted site, and in the "user verification-Logon" section of "Custom Level, select "automatically log on with the current user name and password ". This method is based on the onlineArticle.
The second reason is that I used Visual Studio 2005 to create a web application, and then deleted it, and used vs2003 to create a web application with the same name, however, IIS still sets this application to use. net Framework 2.0. The solution is to find the application in IIS manager, right-click the application, select properties, and select 1.1.4322 from the ASP. NET version drop-down list on the ASP. NET tab. This is my independent solution, but today I see "Debug ASP. NET application "cannot start debugging on the Web server" error message, found in recent comments also mentioned this problem.