Microsoft KB Archive/320433
Article ID: 320433
Article Last Modified on 8/26/2004
- Microsoft ASP.NET 1.1, when used with:
- Microsoft Visual Studio .NET 2003 Academic Edition
- Microsoft Visual Studio .NET 2003 Enterprise Developer
- Microsoft Visual Studio .NET 2003 Enterprise Architect
- Microsoft Visual Studio .NET 2003 Professional Edition
- Microsoft ASP.NET 1.0, when used with:
- Microsoft Visual Studio .NET 2002 Academic Edition
- Microsoft Visual Studio .NET 2002 Enterprise Architect
- Microsoft Visual Studio .NET 2002 Enterprise Developer
- Microsoft Visual Studio .NET 2002 Professional Edition
This article was previously published under Q320433
If you are debugging on Microsoft Windows XP Service Pack 2, see the following article before you continue reading this article:
833977 How to turn on remote debugging in Windows XP Service Pack 2
When you debug a remote ASP.NET application, you may receive one of the following error messages:
These errors can occur when Distributed Component Object Model (DCOM) traffic cannot flow between the remote computer and the computer that is used for debugging.
See the "More Information" section for information about how to resolve this problem.
This behavior is by design.
To debug remote ASP.NET applications, you must have DCOM connectivity. DCOM uses remote procedure call (RPC) as the underlying protocol for communications. If RPC fails between the two computers, the errors may occur.
Some common reasons why RPC communication can fail and cause these errors include:
- These errors can occur when you debug through a firewall. Microsoft does not recommend and does not support remote ASP.NET debugging through a firewall. Use Terminal Services to log on to the remote server and to debug locally instead.
- RPC cannot resolve the remote computer name. RPC relies on name resolution to communicate between computers. If you cannot resolve the computer name of the remote server to the correct Internet Protocol (IP) address, errors can occur.
- RPC traffic can flow in one direction but not in the other. RPC traffic must be able to go from the remote server to the computer that is used to debug and vice versa to successfully debug remotely. To resolve this problem, make sure that RPC communication is enabled in both directions. You can use RPCPing to test the connectivity between the two computers.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
167260 How to use RPCPing to test RPC communication
Keywords: kbide kbdcom kbdebug kbprb KB320433