Export (0) Print
Expand All

Adding Debugger Users and Configuring DCOM

Visual Studio .NET 2003

The Visual Studio debugger requires DCOM for remote debugging of Visual Basic, C#, SQL, script, and mixed-language applications. DCOM must be installed on the client machine that is running the debugger as well as on the server you are debugging. Windows NT and Windows 2000 machines normally have DCOM installed by default. Windows 98 and Windows Millennium Edition machines do not. You can install DCOM from http://www.microsoft.com/com/resources/downloads.asp.

By default, installing Visual Studio .NET or the remote debugging components adds you to the Debugger Users group, which enables you to remotely access debugging components on other machines. If you need to add other users to the Debugger Users group, use one of the following procedures.

Windows 2000, Windows XP, or the Windows Server 2003Family

To access the Debugger Users group

Caution   Adding users to the Debugger Users group may create a security risk by allowing those users to access the machine. You should add only those users that need debugger access on that particular machine. Do not add Everyone to the Debugger Users group.
  1. From the Start menu, choose Settings and click Control Panel.
  2. In Control Panel, double-click Administrative Tools.
  3. Double-click Computer Management.
  4. In the Computer Management dialog box, expand the Systems Tools folder.
  5. Under the Local Users and Groups node, open the Groups folder.
  6. Right-click Debugger Users and choose Properties from the shortcut menu.
  7. In the Debugger Users Properties dialog box, click the Add button.
  8. From the list of users and groups, select the name of a user and click Add.
  9. Click OK to close the Debugger Users Properties dialog box.
  10. Close the other windows and dialog boxes.
  11. Log off the machine running the debugger and log back on again.

    -or-

    Restart the machine or the machine running the debugger.

Windows NT 4.0

To access the Debugger Users group

Caution   Adding users to the Debugger Users group may create a security risk by allowing those users to access the machine. You should add only those users that need debugger access on that particular machine. Do not add Everyone to the Debugger Users group.
  1. From the Start menu, choose Programs, then click Administrative Tools (Common) on the cascading menu, and then click User Manager.
  2. In User Manager, click User and choose Select Domain.
  3. Enter the name of the local computer and click OK.

    A list of local groups appears in the lower pane.

  4. Right-click Debugger Users and choose Properties from the shortcut menu.
  5. In the Properties dialog box, click the Add button.
  6. Enter the users you want to give debugging rights to.
  7. Click OK.
  8. Close the other windows and dialog boxes.
  9. Restart the machine

    -or-

    Log off and log back on again.

For Windows 95, Windows 98, or Windows Millennium Edition, you need to manually configure DCOM for remote debugging instead of using the Debugger Users group.

Windows 95, Windows 98, or Windows Millennium Edition

To configure DCOM for remote debugging

Caution   Adding giving users debugger access can create a security risk by allowing those users to access the machine. You should add only those users that need debugger access on that particular machine.
  1. From the Start menu, choose Run.
  2. In the Open box, type dcomcnfg.exe.
  3. Click OK.
  4. In the Distributed COM Configuration Properties dialog box, on the Applications tab, select Machine Debug Manager.
  5. Click the Properties button.
  6. In the Machine Debug Manager Properties dialog box, select the Security tab.
  7. Select Use custom access permissions.
  8. Click the Edit button.
  9. In the Permissions dialog box, add the users to whom you wish to give debugging access and choose the type of access you want to grant from the Type of Access list.
  10. Click OK to close the Permissions dialog box.
  11. Close the other dialog boxes.
  12. Restart the computer.

See Also

Remote Debugging Setup | Just-In-Time Debugging

Show:
© 2014 Microsoft