A DCOM error occurred trying to contact the remote computer. Access is denied.

Remote debugging in Visual Studio 2012 uses DCOM to communicate between the host and remote computer in the following situations:

  1. The debugger is set to mixed-mode (native and managed

  2. Debugging Windows Workflow applications

  3. Some third party debugging scenarios

This error occurs when the Visual Studio process cannot authenticate itself (or the supplied credentials were deemed insufficient) to the remote debugger process over DCOM. One or more of the following workarounds might resolve the issue:

  1. Change your settings to debug only managed or only native code.

  2. Reboot both computers.

  3. If remote debugging requires entering credentials, check the option to save the credentials.

See Also

Tasks

Remote Debugging Errors and Troubleshooting

Other Resources

Remote Debugging Setup