Help and Support

Article ID: 306164 - Last Review: February 23, 2007 - Revision: 2.7

PRB: "Access Is Denied. Check the DCOM Configuration Settings for the Machine Debug Manager" Error Message When You Debug ASP.NET Applications

This article was previously published under Q306164
Expand all | Collapse all

SYMPTOMS

When you remotely debug an ASP.NET application 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. Access is denied. Check the DCOM configuration settings for the machine debug manager. Would you like to disable future attempts to debug ASP.NET pages for this project?

CAUSE

This error occurs because the user who is trying to remotely debug is not a member of the Debugger Users group on the Microsoft Internet Information Server (IIS) server.

RESOLUTION

To add the appropriate user to the Debugger Users group, follow these steps on the Web server:
  1. From the Windows Start menu, point to Programs, point to Administrative Tools, and then click Computer Management.
  2. In the left pane, click to expand the Computer Management, System Tools, and Local Users and Groups nodes.
  3. Click Groups, and then double-click Debugger Users.
  4. In the Debugger Users Properties dialog box, click Add.
  5. In the Select Users or Groups dialog box, select the appropriate user, and then click OK.
  6. Click OK to exit the Debugger Users Properties dialog box.
  7. Close the Computer Management explorer.

APPLIES TO
  • Microsoft ASP.NET 1.1
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft ASP.NET 1.0
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
Keywords: 
kbdebug kberrmsg kbprb KB306164

Article Translations