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

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.
Thuộc tính

ID Bài viết: 306164 - Xem lại Lần cuối: 24-03-2009 - Bản sửa đổi: 1

Phản hồi