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.


.Net Tools – PowerCommands for Visual Studio 2008

PowerCommands 1.1 is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE. The source code is included and requires the VS SDK for VS 2008 to allow modification of functionality or as a reference to create additional custom PowerCommand extensions

Its very useful tool for visual studio2008 specially  some features that Open command prompt, Copy Reference,  Email code snipet, Copy project as reference and many more.

Project Page:

License: Free
My Rank : 8.7

Some tools make life easier use it. bye now…

Register your dll’s to GAC with Visual Studio IDE

In this article we will create an external tool for registering our dlls to GAC .

1) Click in your VS.IDE menu Tools -> External Tools…

2) Click to Add button

Title = Register GAC

Command =  C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\gacutil.exe

Arguments = -i $(TargetPath)

3) Make checked “Use Output window” for results

4) Click OK .

Now you can use your new external tool in your IDE’s -> Tools Menu…

Some tools save time or not ? bye now…

Visual Studio IDE free copy using ALT

I just wanted to copy that code without the comments. So, the trick is to simply press the Alt button, and then highlight the rectangle you like.(e. g. below).

protected void MyCommand(string e)
        //if (e == "Hello")
        //    lblFog.Text = e.CommandArgument.ToString();

In the above code if I want to select :

if (e == "Hello")
    lblFog.Text = e.CommandArgument.ToString();

Then I press ALt key and select the rectangle and no need to uncomment the lines.