PRB: "Remote calls are not allowed for this process" error message when you debug ASP.NET page (313273)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft Visual Studio .NET (2002), Professional Edition
This article was previously published under Q313273 If you are debugging on Microsoft Windows XP Service Pack 2, see the following article before you continue reading this article:
833977 How to turn on remote debugging in Windows XP Service Pack 2
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?
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. RESOLUTION To resolve this problem, enable DCOM on the client
computer. Microsoft Windows XP Professional or Microsoft Windows 2000- Click Start, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Component Services to open the Component Services Microsoft Management Console
(MMC).
- Expand the Component Services and the Computers nodes.
- Right-click My Computer, and then click Properties.
- On the Default Properties tab, click to select the Enable Distributed COM on this
computer check box, and then click OK.
- Close the Component Services MMC.
- Restart the computer.
Microsoft Windows NT- Click Start, and then click Run.
- In the Run dialog box, type dcomcnfg, and then click OK.
- 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.
- Restart the computer.
STATUSThis
behavior is by design.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
Modification Type: | Major | Last Reviewed: | 8/26/2004 |
---|
Keywords: | kbMSCCSearch kbPubTypeKC kbDebug kberrmsg kbprb KB313273 |
---|
|