Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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?

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: kbdebug, kberrmsg, kbprb, KB306164

↑ Back to the top

Article Info
Article ID : 306164
Revision : 9
Created on : 2/23/2007
Published on : 2/23/2007
Exists online : False
Views : 495