年後跳槽到了微創,工作就沒有合易那樣輕鬆了,所以很少寫Blog,剛過來的時候沒有來得及重新做系統,剛做完一個項目,決定把系統重新做一下。
可是在我安裝完VS2003後,開啟項目,編譯通過,卻跳出下面一段話:
“Error while trying to run project:Unable to start debugging on the web server.Debugging failed
because integrated windows authentication is not enbaled.”
通過查閱MSDN知道瞭解決方案。貼出如下:
To enable integrated Windows authentication
- Log onto the Web server using an administrator account.
- From the Start menu, open the Administrative Tools Control Panel.
- In the Administrative Tools window, double-click Internet Information Services.
- 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.
- 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
- In the Properties dialog box, select the Directory Security tab.
- In the Anonymous access and authentication section, click the Edit button.
- In the Authentication Methods dialog box, under Authenticated access, select Integrated Windows authentication.
- Click OK to close the Authentication Methods dialog box.
- Click OK to close the Properties dialog box.
- Close the Internet Information Services window.