Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: Error when you debug remote ASP.NET application


View products that this article applies to.

Symptoms

When you debug a remote ASP.NET application, you may receive one of the following error messages:
Error while trying to run project: Unable to start debugging on the web server. Unable to map the debug start page URL to a machine name.
-or-
Error while trying to run project: Unable to start debugging on the web server. Not enough storage is available to complete this operation.

↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

See the "More Information" section for information about how to resolve this problem.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


More information

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:
  1. 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.
  2. 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.
  3. 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.

↑ Back to the top


References

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

↑ Back to the top


Keywords: kbdcom, kbdebug, kbide, kbprb, KB320433

↑ Back to the top

Article Info
Article ID : 320433
Revision : 7
Created on : 8/26/2004
Published on : 8/26/2004
Exists online : False
Views : 486