Поделиться через


Error: The Microsoft Visual Studio Remote Debugging Monitor on the remote computer is running as a different user

When trying to do remote debugging, you may get the following error message:

The Microsoft Visual Studio Remote Debugging Monitor on the remote computer is running as a different user.

Cause

This message occurs when you are debugging in No Authentication mode and the user who started msvsmon is not the user who is running Visual Studio.

Solution

The safest and best solution is to run the Remote Debugging Monitor (msvsmon.exe) under the same user account as Visual Studio. If you cannot do that, you can run Remote Debugging Monitor under the other account with the Allow any user to debug option selected in the Remote Debugging Monitor Options dialog box.

Warning

Granting other users permission to connect allows the possibility of accidentally connecting to the wrong remote debugging session. Debugging in No Authentication mode is never secure and should be used with caution.

For more information, see Start the Remote Debugging Monitor.

See Also

Tasks

Remote Debugging Errors and Troubleshooting

Other Resources

Remote Debugging and Diagnostics