Article ID: 317290
Article Last Modified on 9/2/2004
APPLIES TO
- Microsoft .NET Framework 1.1 Service Pack 1
- Microsoft Visual Studio .NET 2002 Professional Edition
- Microsoft Visual Studio .NET 2002 Enterprise Architect
- Microsoft Visual Studio .NET 2002 Enterprise Developer
- Microsoft Visual Studio .NET 2002 Academic Edition
- Microsoft Visual Studio .NET 2003 Professional Edition
- Microsoft Visual Studio .NET 2003 Enterprise Architect
- Microsoft Visual Studio .NET 2003 Enterprise Developer
- Microsoft Visual Studio .NET 2003 Academic Edition
This article was previously published under Q317290
Note If you are debugging on a computer that is running Windows XP SP2, see the following article before you continuing in this article:
833977 How to turn on remote debugging in Windows XP with Service Pack 2
SYMPTOMS
When you use Visual Studio .NET to debug an application that is located on a remote Web server, you may receive the following error messages:
-or-
CAUSE
This behavior occurs if the remote user does not have permissions to debug the aspnet_wp process.
RESOLUTION
To debug from a remote location, the user must be a member of the Debugger Users group and be must have Debug Programs permissions on the Web server. If you do not want to change the local policy, you can add users to Debugger Users group and Administrators group instead.
To add users to Debugger Users group and Administrators group, follow these steps:
- Right-click My Computer on the Windows desktop.
- Click Manage.
- Expand Local Users and Groups.
- Add the user name to the Administrators group.
- Add the user name to the Debugger Users group.
To give the user Debug Programs permissions, follow these steps.
Note If you added the user name to the Administrators group, you do not have to grant the user Debug Programs permissions because the Administrators group already have these permissions.
- Click Start, and then click Run.
- Type MMC, and click OK.
- Add Local Computer Policy in MMC
- Expand Local Computer Policy, expand Windows Settings, expand Local Policies, and then expand User Rights Assignment.
- Find Debug Programs, and then add the appropriate users.
STATUS
This behavior is by design.
MORE INFORMATION
For additional information about other debugging issues, click the following article number to view the article in the Microsoft Knowledge Base:
306172 Common errors when you debug ASP.NET applications
Additional query words: debug
Keywords: kbdebug kbprb kbideproject KB317290