views:

821

answers:

2

I am trying to add a remote server to "server explorer" (not a data connection) so I can view Event Logs, Services etc. I keep getting the following error:

"Could not reconnect to 'mail'. Make sure the machine name and path are valid."

'mail.domain.com' is what the IP address I enter resolves to (this is due to the email server being on this remote computer).

What needs to be running on the remote server to allow VS to access this functionality, which port do I need to ensure is open?

I realise this isn't programming but it is about the IDE used and hope that this qualifies this question to be asked here. Any help would be gratefully received.

A: 

Could you clarify the word remote, i.e. is this machine in your Network or are you connecting elsewhere.

Also when it says that it could not "reconnect" does that mean you have managed to connect in the first attempt and them some action has caused this error message?

My initial guess is that you do not have permission to the machine that you are trying to access, what permissions do you have on this machine?

This link explains required permissions for items in the Server Explorer.

Ed

MrEdmundo
Remote is a server not in my network, I can connect to servers on the same network. No I have never managed to connect to the server. I have the administrator rights for the server. Thanks for you help
A: 

Use IP adress. maybe your problem with DNS resolving.
the the short instructions to make the easiest remote connection .

  1. On remote machine you need to start Visual Studio Remote Debugging Monitor (installed from VS install disk). First time you need to run wizard of Remote Debugging. In Visual Studio Remote Debugging Monitor at the tools->options-> Server Name you will see the correct name (or change it to ip, its better).
  2. Now you can add server in Server Explorer
Avram