"Unable to attach to the process" error message when you debug an ASP.NET Web application that uses the .NET Framework 1.0 (827820)



The information in this article applies to:

  • Microsoft .NET Framework 1.0

SYMPTOMS

In Microsoft Visual Studio .NET 2003, when you try to debug a Microsoft ASP.NET Web application or an ASP.NET Web service, you may receive the following error message:
Unable to attach to the process. There is no managed code running in the process. In order to attach to a process with the .NET debugger, managed code must be running in the process before attaching.

RESOLUTION

To resolve this problem, you must remove and then reinstall the Microsoft .NET Framework version 1.0. To do this, follow these steps:
  1. Click Start, click Control Panel, and then click Add or Remove Programs.
  2. Under Currently Installed Programs in the Add or Remove Programs dialog box, click Microsoft .NET Framework, and then click Change/Remove.
  3. Follow the onscreen instructions to remove the .NET Framework.

    Note If you are prompted to restart your computer, restart your computer, and then go to step 4.
  4. Reinstall the .NET Framework 1.0.
If the installation of the .NET Framework is not successful, you must remove the .NET Framework manually. For additional information about how to remove the .NET Framework manually, click the following article number to view the article in the Microsoft Knowledge Base:

320112 Installation of .NET Framework fails and requires manual removal


Modification Type:MajorLast Reviewed:9/24/2004
Keywords:kbprb KB827820 kbAudEndUser kbAudDeveloper