[原]Error while trying to run project: Unable to start debugging on the web server. 内存分配访问无效

        今天调试程序过程中,又遇到了一个问题:“Error while trying to run project: Unable to start debugging on the web server. 内存分配访问无效”。(呵呵!今天好象程序总是喜欢和自己开这样的玩笑,不过我的观点是:不要怕遇到问题,这是锻炼自己解决问题的最好方式)。下面我来说一下我解决的方式(其实也很简单)。
        依然先借助于强大的搜索引擎Baidu,找到以下相关资料:

        关于ASP.Net不能启动调试的官方解答: 
PRB: "Unable to Start Debugging on the Web Server" Error Message When You Debug ASP.NET Applications
The information in this article applies to:
  • Microsoft ASP.NET (included with the .NET Framework)
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition
This article was previously 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. Would 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:
posted on 2006-06-21 23:32  淡泊江湖  阅读(2872)  评论(4编辑  收藏  举报