Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 320433 - Last Review: August 26, 2004 - Revision: 3.3
PRB: Error when you debug remote ASP.NET application
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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=833977/
)
How to turn on remote debugging in Windows XP Service Pack 2
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.
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.
RESOLUTION
See the "More Information" section for information about
how to resolve this problem.
STATUS
This
behavior is by design.
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:
- 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.
REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
167260Â
(http://kbalertz.com/Feedback.aspx?kbNumber=167260/
)
How to use RPCPing to test RPC communication
APPLIES TO
- 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
| kbdcom kbdebug kbide kbprb KB320433 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
Anonymous User
- dmcghee NOSPAM-AT-NOSPAM inttech.net
|
Report As Irrelevant
|
| Written:
9/9/2005 9:36 AM |
|
|
|
Anonymous User
|
Reported as Irrelevant
|
| Written:
10/18/2005 11:00 AM |
|
|
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please