Error: The Microsoft Visual Studio Remote Debugging Monitor on the remote computer does not have permission to connect to this computer

This error occurs when the user trying to run the Remote Debugging Monitor (msvsmon) does not have an account on the local computer.

This error can also occur when you try to remote debug between older versions of Microsoft Windows and new versions of Microsoft Windows with a Server 2003 domain controller.

To fix this problem

  • Add a user account to the Visual Studio debugger host computer, with the same name and password as the user account running msvsmon on the remote computer,

    - or -

  • Run msvsmon as a user who has permission to call into the local computer. This means the user must be a domain user and an administrator on the msvsmon computer. You can specify the user account to run msvsmon in one of two ways:

    • Right-click the msvsmon icon and choose Run As on the shortcut menu

    - or -

    • At the Command Prompt, run runas.exe.

See Also

Tasks

Remote Debugging Across Domains

Remote Debugging Errors and Troubleshooting

Other Resources

Remote Debugging Setup