Article ID: 303067
Article Last Modified on 3/10/2006
APPLIES TO
- Microsoft Visual Studio .NET 2002 Professional Edition, when used with:
- Microsoft Windows 2000 Standard Edition
- Microsoft Windows XP Professional
- Microsoft Windows NT 4.0
- Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2
This article was previously published under Q303067
SYMPTOMS
When you try to debug a managed application (one that makes use of the .NET Framework) with Visual Studio .NET software, you may receive the following error message:
-or-
NOTE: The second error message may have other causes and resolutions.
CAUSE
This problem happens if Windows was started in debug mode on the system. This stops the Visual Studio .NET debugger from debugging managed applications.
To determine whether your system was started in debug mode, see the following Microsoft Knowledge Base article:
244876 How to determine if Windows is started in Debug mode
RESOLUTION
There are two ways that you can resolve this problem. Do either of the following:
- Resolution 1
- Right-click the
Project Name
in Solution Explorer, and then click Properties. - In the left pane of Properties, click to select Configuration Properties.
- Click to select Debugging.
- In the right pane, click to select the Unmanaged code debugging check box.
- Right-click the
- Resolution 2
- In Microsoft Notepad, open Boot.ini, which is located in the
System Drive
folder (usually C:\). This file may be hidden and read-only, so you may have to use dir /ASH to find it. - Remove all of the following switches, if found in the file:
- /debug
- /debugport
- /baudrate
- Restart the computer, start Visual Studio .NET, and then debug.
- In Microsoft Notepad, open Boot.ini, which is located in the
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
170756 Available switch options for Windows NT Boot.ini file
Additional query words: debugger vs7 debugging
Keywords: kbvs2002sp1sweep kbbug kbdebug kberrmsg kbide kbprb KB303067