Microsoft Knowledge Base Email Alertz

KBAlertz.com: (320433) - 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...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








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:
  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.

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
Keywords: 
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
So how exactly do I go about troubleshooting this problem, the actual answer is not stated. I'm actually getting this error and my project folder is located in my wwwroot folder..I'm thinking that maybe there is a path that needs to be changed or something. It was the project was previously on a ftp server before I moved it to my local machine.

Anonymous User Reported as Irrelevant  
Written: 10/18/2005 11:00 AM
Where do I get RPCPing from? I scanned my entire computer and could not find it.

Prasad - prasadgvl NOSPAM-AT-NOSPAM yahoo.com Report As Irrelevant  
Written: 5/8/2006 3:16 AM
If you are trying to debug your web project from VS IDE, the solution is very simple. 1. Goto properties of your default web project 2. In the debug properties, set the Debug Mode to 'URL' and Debug URL to 'http://localhost/' Viola! It works!!

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please