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
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
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