Debuggin Failed Because Authentication is not enabled
Date Published: 04 October 2006
I ran into this prompt while trying to launch debugging in VS 2005 using IIS. I quickly found this MSDN online article to solve the problem. Posting here to help anybody else find it quickly. Basically, go into IIS and turn on Windows Authentication under Directory Security. Here’s detailed steps:
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.
Steve is an experienced software architect and trainer, focusing currently on ASP.NET Core and Domain-Driven Design.