ASP.Net: Visual Studio Remote Debugging with Windows XP SP2

May 17, 2005

I just got me a new p4 3.2ghz machine with Windows XP SP2. All great n luvlee…expect when I tried to debug a remote development server, which gave me this helpful error message:

“Error while trying to run project: Unable to start debugging on the web server. The debugger component on the server failed to connect to the local machine.”

This Google Groups thread gave me the solution.

Quick summary of the thread:

  1. dcomcnfg.exe -> Component Services -> Computers -> My Computer -> Properties -> COM Security -> Access Permissions -> Edit Limits.
  2. Grant remote access to ANONYMOUS LOGON.

Doesn’t really make sense because out of the box EVERYONE is granted both local and remote permissions in Edit Limits. But hey, it works!

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: