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: "Remote calls are not allowed for this process" error message when you debug ASP.NET page


View products that this article applies to.

Symptoms

When you remotely debug an ASP.NET application in Visual Studio .NET, you may receive the following error message:
Error while trying to run project: Unable to start debugging on the web server. Remote calls are not allowed for this process.

Would you like to disable future attempts to debug ASP.NET pages for this project?

↑ Back to the top


Cause

This error occurs if the client computer is running Visual Studio .NET and if the client computer does not have Distributed COM (DCOM) enabled.

↑ Back to the top


Resolution

To resolve this problem, enable DCOM on the client computer.

Microsoft Windows XP Professional or Microsoft Windows 2000

  1. Click Start, and then click Control Panel.
  2. Double-click Administrative Tools, and then double-click Component Services to open the Component Services Microsoft Management Console (MMC).
  3. Expand the Component Services and the Computers nodes.
  4. Right-click My Computer, and then click Properties.
  5. On the Default Properties tab, click to select the Enable Distributed COM on this computer check box, and then click OK.
  6. Close the Component Services MMC.
  7. Restart the computer.

Microsoft Windows NT

  1. Click Start, and then click Run.
  2. In the Run dialog box, type dcomcnfg, and then click OK.
  3. In the Distributed COM Configuration Properties dialog box, on the Default Properties tab, click to select the Enable Distributed COM on this computer check box, and then click OK.
  4. Restart the computer.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


References

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
306172 Common errors when you debug ASP.NET applications in Visual Studio .NET

↑ Back to the top


Article Info
Article ID : 313273
Revision : 11
Created on : 1/1/0001
Published on : 1/1/0001
Exists online : False
Views : 460