Sunday, January 18, 2009

Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled

"Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled" error occurs when you try try to debug the application in Microsoft Visual Studio 2005 in Windows Vista Home Basic or in Windows Vista Home Premium using Internet Information Services (IIS) 7.0.

This problem occurs because Windows Vista Home Basic and Windows Vista Home Premium do not contain the Windows Authentication module for IIS. When the client tries to automatically attach the debugger in an ASP.NET 2.0 application, the client sends a HTTP request that contains the DEBUG verb. This HTTP request is used to verify that the process of the application is running and to select the correct process to attach. This HTTP request must be authenticated by using Windows Authentication. However, Windows Vista Home Basic and Windows Vista Home Premium do not contain the Windows Authentication module for IIS. Therefore, the problem occurs.

A supported hotfix is available from Microsoft. Apply this hotfix only to systems that are experiencing this specific problem.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:

http://code.msdn.microsoft.com/KB937523

You must have Visual Studio 2005 Service Pack 1 (SP1) installed to apply this hotfix.

1 comment:

Unknown said...

Thanks for the blog. Well its simply means that this problem usually occurs when the debugger does not send the debug action to IIS when you run the application.