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.