Visual Studio 2010 remote debugging - Unable to connect: Access Denied

六月ゝ 毕业季﹏ 提交于 2019-12-10 13:53:07

问题


I'm trying to remotely debug an exe, but I keep getting an error message. Here's the configuration:

On the dev machine:

  • Windows Vista 32-bit
  • Visual Studio 2010
  • Firewall disabled

On the remote machine:

  • Windows 7 64-bit
  • msvsmon.exe (shared from the dev machine)
  • MyProgram.exe (32-bit, C#, .Net 4.0)
  • Firewall disabled

Both machines are on the same domain. I'm logged in with the same account, which has administrator rights on both machines.

And here's what I do:

  • Starting msvsmon.exe on the remote computer (using 'run as admin')
  • msvsmon output: new server named domain\login@machine created. Waiting for input connections.
  • From visual studio: Debug > Attach to process. Filling the Qualifier field with domain\login@machine
  • visual studio output: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named "machine". Access denied.
  • msvsmon output: domain\login connected

What did I miss?

EDIT:

Looks like it's working if the dev machine is 64-bit too (tried on a Win7 x64). So now the question is: how to make it work from my Windows Vista 32?


回答1:


So the answer is: it's not possible.

To debug a process (either 32 or 64 bits) on a remote 64-bit machine, you have to use a 64-bit machine locally.



来源:https://stackoverflow.com/questions/9464809/visual-studio-2010-remote-debugging-unable-to-connect-access-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!