Web 無法啟動調試疑難解析(待續)

來源:互聯網
上載者:User
昨天安裝了Server-U 不知道預設了什麼,VS2008的Web項目就不能夠運行了。
環境:XP SP3、VS2008 SP1、建立Web應用程式、基於local IIS.

報告如此下錯誤:
Q: 無法web伺服器上啟動調試,無法串連到web伺服器。請驗證web伺服器正在運行,並且防止防火牆沒有阻止傳入的http請求......
A: 可能預設網站被關閉,需要啟動網站,並重新啟動IIS即可。

如果還有錯誤,類似如下錯誤:
Q:無法web伺服器上啟動調試,伺服器不支援對asp.net或者atl server 應用程式的進行調試...
A:重新註冊IIS: 執行 aspnet_regIIS 即可。

Q:無法在 Web 服務器上啟動調試。此項目在使用一個被配置為使用特定 IP 位址的網站。請在項目 URL 中指定電腦名稱。
A:在預設網站的IP地址:修改為“全部未分配”。

Q: By default, it is located in c:\inetpub\wwwroot. However, if you want to change it, then you go into IIS. IIS is the Internet Information Services administration tool. It depends what version you are running as to where it is located, but most commonly, it is found in the Administration Tools area.
A: Open IIS, Expand your "Local Computer" node in the tree, and then right click on "Default Web Site" and click on "Properties".
In the Properties dialog, click on the "Home Directory" tab. There you will see "Local Path" with a "Browse" button next to it. That is where you can change it from. 

Q: 產生編譯錯誤:“/LM/W3SVC/1/ROOT/XXX/IRRCUpdateServer”不是一個有效 IIS 應用程式。
A: 在IIS中建立應用程式,重新在Solution引用該Web Project。

Q:401授權錯誤,在IIS可以訪問,在IE中無法訪問。
A:添加Web Share的匿名授權帳號:IUSR
             

態度決定一切,技術改變生活

作者:winzheng                                                                                                                                           
出處:http://cnblogs.com/winzheng                                                                                                      
本文為原創作品,歡迎轉載,但未經作者同意必須保留此段聲明,且在文章頁面明顯位置給出原文連結,否則保留追究法律責任的權利。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.