[原]Error while trying to run project: Unable to start debugging on the web server. 記憶體配置訪問無效

來源:互聯網
上載者:User
        今天偵錯工具過程中,又遇到了一個問題:“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:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.