ASP.Net DebugError解決方案:Unable to start debugging on the web server.Debugging failes because integ

來源:互聯網
上載者:User
 今天偵錯工具的時候遇到如下問題:“Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.”。
        先是用Baidu搜尋一下:找到這篇文章—— Debugging Failed Because Integrated Windows Authentication Is Not Enabled  。
        其中提到了MSDN提供的解決方案:
        To enable integrated Windows authentication:
        1.Log onto the Web server using an administrator account. 
        2.From the Start menu, open the Administrative Tools Control Panel. 
        3.In the Administrative Tools window, double-click Internet Information Services. 
        4.In the Internet Information Services window, use the tree control to open the node named for the Web server.
A Web Sites folder appears beneath the server name. 
        5.You can configure authentication for all Web sites or for individual Web sites. To configure authentication for all Web sites, right-click the Web Sites folder and choose Properties from the shortcut menu. To configure authentication for an individual Web site, open the Web Sites folder, right-click the individual Web site, and choose Properties from the shortcut menu 
        6.In the Properties dialog box, select the Directory Security tab. 
        7.In the Anonymous access and authentication section, click the Edit button. 
        8.In the Authentication Methods dialog box, under Authenticated access, select Integrated Windows authentication. 
        9.Click OK to close the Authentication Methods dialog box. 
        10.Click OK to close the Properties dialog box. 
        11.Close the Internet Information Services window. 

        在啟發之下,我懷疑是和我修改了IIS的存取權限有關:勾選上“整合 Windows 身份嚴整”,一切OK了!

聯繫我們

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