You may receive an error message when you try to connect to an instance of the Remote Debugging Monitor in Visual Studio 2005 (919823)
The information in this article applies to:
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Professional Edition
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry SYMPTOMSWhen you try to connect to an instance of the Remote Debugging Monitor in Microsoft Visual Studio 2005, you may receive an error message that resembles the following: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named MonitorName. The Visual Studio debugger cannot connect to the remote computer. An RPC policy is enabled on the local computer that prevents remote debugging. Please see Help for assistance. When you click Help, you obtain a document that states that you need to disable the Restrictions for Unauthenticated RPC clients policy setting. However, the problem is not resolved when you disable this policy setting. CAUSEThis problem occurs because a remote procedure call (RPC) policy that prevents debugging is enabled on the local computer.
Note The RestrictRemoteClients registry key is a new addition for the RPC service in Microsoft Windows XP Service Pack 2 (SP2). This problem occurs when you enable the RPC service on the local computer that is running Windows XP SP2.WORKAROUNDWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. To work around this problem, follow these steps: - Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\RPC - Right-click RestrictRemoteClients, and then click Delete.
- In the Confirm Value Delete dialog box, click Yes.
- On the File menu, click Exit.
- Restart the computer for the change to take effect.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 8/8/2006 |
---|
Keywords: | kbtshoot kbBug kbprb KB919823 kbAudDeveloper kbAudITPRO |
---|
|