vs2005 cannot debug ASP.NET program

VS2005 cannot debug the ASP.NET website program. Press F5 to debug and run the page in the browser for a few seconds, but the debug mode is automatically launched. There are the following information in the output list.
Explain the environment of my machine, the VISTA U version, which is upgraded from the HB version. IE7, VS2005 and VS2008 are all installed, but IIS is not installed. There is no problem in VS2008, it can be debugged, but not in 2005. In 2005, ASP.NET programs cannot be debugged. I tried the C#WINDOWS application, which can be debugged and run.

Output information:
Warning: Cannot debug script code. Script debugging is disabled for the application you want to debug. Please uncheck the "Disable script debugging" option in the "Internet Options" dialog box ("Advanced" page) of Internet Explorer, and then restart the process.
"WebDev.WebServer.EXE" (hosted): "C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (hosted): "C:\Windows\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (Hosting): Loaded "C:\Windows\assembly\GAC_32\WebDev.WebHost\8.0.0.
"WebDev.WebServer.EXE" (hosted): "C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (managed): "C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (hosted): "C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (hosted): "C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (Hosted): Loaded "C:
"WebDev.WebServer.EXE" (hosted): "C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (Hosting): "C:\Windows\assembly\GAC_MSIL\WebDev.WebHost.resources\8.0.0.0_zh-CHS_b03f5f7f11d50a3a\WebDev.WebHost.resources.dll" has been loaded, symbol loading has been skipped . The module has been optimized and the debugger option "Only my code" is enabled.
"WebDev.WebServer.EXE" (hosted): "C:\Windows\Microsoft.NET\Framework\v2.0.50727\zh-EN\WebDev.WebServer.resources.dll" has been loaded, symbol loading has been skipped. The module has been optimized and the debugger option "Only my code" is enabled.
The program "[4696] WebDev.WebServer.EXE: Hosting" has exited and the return value is 0 (0x0).

   

   

Solution:

1. Check if your Terminal Services service is started. If it is not started, the problem can be solved.
2 Confirm that the Machine Debug Manager service has started.
3. Open the project properties, and in the "Debug" item, remove the hook before "Enable the Visual Studio hosting process".
4. If your IE is IE8.0, then please modify the registry: HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
increase the dword key TabProcGrowth, the value is 0!

Guess you like

Origin blog.csdn.net/panpanloveruth/article/details/7563241