Remote Debugging Access Denied Visual Studio 2008

Check both remote and local machine Windows Firewall entries.

In Remote Machine:
Open and Check  Remote debugger monitor and go to Tools -> Permissions and grant the user’s permission to Allow Debug.

One thing that can be missing is File and Printer sharing on the remote machine should open the following ports: TCP 139TCP 445UDP 137, and UDP 138.

Even if you have configured properly remote debugger and set permission correct but still getting “access denied” error when remote debugging . Possibly, your account for network connection is differnt from as server remote debuggers defined user. you may store a credental for target server before remote debugging and its username/password not match servers user for debugging.

You can remove stored networks passwords for specific targets in your client computer.

Control Panel->User Accounts->manage your networks passwords

opens “Stored Usernames and Passwords” windows.

Select account and click  remove button .Try again for remote debugging.


About bpostaci
Escalation Engineer in Microsoft.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: