Debug today Program During the process, another problem was encountered: "error while trying to run project: unable to start debugging on the Web server. Access to memory allocation is invalid ". (Haha! Today, it seems that programs always like to joke with themselves, but my point is: Don't be afraid of problems, this is the best way to train yourself to solve the problem ). Next I will discuss the solution (which is actually very simple ).
You can find the following information by using the powerful search engine Baidu:
Official answers to ASP. NET's failure to start debugging:
PRB: "unable to start debugging on the Web server" error message when you debug ASP. NET Applications
The information in this article applies:
- Microsoft ASP. NET (supported with the. NET Framework)
- Microsoft Visual Studio. NET (2002), Professional Edition
- Microsoft Visual Studio. NET (2002), enterprise effecect Edition
- Microsoft Visual Studio. NET (2002), enterprise Developer Edition
- Microsoft Visual Studio. NET (2002), academic Edition
This article was previusly published under q306165
Symptoms
When you debug an ASP. NET application in Visual Studio. NET, you may receive the following error message:
Error while trying to run project: unable to start debugging on the Web server. wocould you like to disable future attempts to debug ASP. NET pages for this project?
Cause
This error occurs because Microsoft Internet Information Server (IIS) is not running or is not functioning properly.
Resolution
To resolve this problem, you must restart IIS. To do this, type iisreset at a command prompt.
References
For more general information about ASP. NET, refer to the following msdn newsgroup: