You create an ASP.NET Web application and then specify that
the authentication in Internet Information Services (IIS) is set to Basic authentication. When you try to start to debug the ASP.NET Web application project in Visual Studio
.NET, you may receive the following error message:
Error while trying to run project: Unable to start debugging
on the Web server. You do not have permissions to debug the server. Verify
that you are a member of the Debugger Users group on the server. Would you
like to disable future attempts to debug ASP.NET pages for this
project?
When you set authentication to Basic, the HTTP debug request
cannot establish the username and the password for the debugger.
Therefore, the request does not reach the ASP.NET source code to debug, and
then the auto-attach debugging of processes fails.
To work around this problem, manually attach a debugger
process. You can debug an ASP.NET Web application even if you set the authentication to Basic. Follow these steps to attach an Aspnet_wp.exe process to debug
an ASP.NET Web application.
Create an ASP.NET Web Application Project
1.
In Microsoft Visual Studio .NET, use Microsoft Visual Basic .NET or Microsoft Visual C# .NET to create a new ASP.NET Web
application project. Name the project
DebugTest. By default, WebForm1.aspx is created.
2.
Right-click WebForm1.aspx, and then click View
Code.
In Microsoft Visual Studio .NET, use Visual Basic .NET or Visual C# .NET to create a new ASP.NET Web
application. Name the Project
DebugTest. By default, WebForm1.aspx is created.
2.
Right-click WebForm1.aspx, and then click View
Code .
Need More Help? Contact a Support professional by Email, Online or Phone.
Customer Service For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
Newsgroups Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.