سؤال

I have no trouble debugging from Visual Studio 2010 when I go to work and wire into the LAN.

However, when I telecommute over the corporate VPN, I cannot debug, because when I try to debug, the monitor correctly shows a status of <datetime> CONNECTED, but Visual Studio 2010 comes back with the "Unable to connect ...The remote computer cannot connect back to this computer" message.

There is no change in procedure between debugging from home or debugging from work; it simply won't work over the VPN...

The remote machine is my VM running on corporate servers someplace. I can ping my developer machine from the remote virtual machine, and I'm using Windows authentication mode. Both machines are Windows 7 64-bit.

The application I wrote is deployed using the full-trust mode of ClickOnce.

Why?

هل كانت مفيدة؟

المحلول

Here's what was wrong:

Our corporate firewall allows remote clients to come in via SSLVPN and see everything at the corporation. What our firewall does not have is the reverse rule which allows computers already within the firewall to see remote clients as soon as they log in.

Therefore, the machine being debugged, which was running MSVSMON.EXE, could not see the machine running the Visual Studio 2010 debugger.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top