IE8下debug模式的两个小问题
2010-10-22 23:13
274 查看
摘自互联网 留作备份
使用Visual Studio 2003/2005调试ASP.NET程序时出现如下错误,从而无法调试:
程序“[1912] w3wp.exe: DefaultDomain”已退出,返回值为 0 (0×0)。
对应的英文信息为:
The program ‘[5772] w3wp.exe: demo’ has exited with code 0 (0×0).
这个问题是IE8的 Loosely-Coupled Internet Explorer (LCIE) 引起的,解决方法如下:
对于Windows 2003/Windows XP 操作系统:
1) Open RegEdit //打开注册表编辑器
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main //定位到【HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Explorer/Main】
3) Add a dword under this key called TabProcGrowth //新建名称为 TabProcGrowth 的Reg_DWORD(整数值)
4) Set TabProcGrowth to 0 //设置 TabProcGrowth 的值为 0
重新启动调试,就恢复正常
如果是Vista或者更新的Win7上则需要:turn off protected mode。
解决方案来源:
VS 2005 Debugger crashing with IE 8 Beta 2
http://social.microsoft.com/Forums/en-US/vsdebug/thread/e2c795cd-b7a0-4fad-b7c9-b1ca40d7302e
IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process. You can work around this by disabling the process growth feature of LCIE. Here’s how:
1) Open RegEdit
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Add a dword under this key called TabProcGrowth
4) Set TabProcGrowth to 0
Since you are running on Windows Server 2003, this is all you should need to do. If you run into the same problem on Vista or newer, you will also need to turn off protected mode.
Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone
You may receive the error "Error while trying to run project: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. Click Help for more information."
This is one of the various errors that appear when you are debugging and may haunt you until you do the following fix:-
1. In the Internet Explorer, "Tools" Menu, select "Internet Options".
2. Switch to "Security" Tab.
3. Click on "Internet" (The Globe Icon. Its actually the default selected).
4. Click on "Custom Level" in the bottom.
5. Scroll down to find the "User Authentication" section.
6. Select "Automatic logon with current username and password".
7. Click "Ok" twice to exit.
This should solve the issue.
Please note that this resolution is specific only if you get the exact error message as mentioned in the beginning of this article. There are various reasons you get the "Unable to start debugging on the webserver". For a complete list of solutions, please check http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vsdebug.asp
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Octavius/archive/2008/06/04/2511794.aspx
使用Visual Studio 2003/2005调试ASP.NET程序时出现如下错误,从而无法调试:
程序“[1912] w3wp.exe: DefaultDomain”已退出,返回值为 0 (0×0)。
对应的英文信息为:
The program ‘[5772] w3wp.exe: demo’ has exited with code 0 (0×0).
这个问题是IE8的 Loosely-Coupled Internet Explorer (LCIE) 引起的,解决方法如下:
对于Windows 2003/Windows XP 操作系统:
1) Open RegEdit //打开注册表编辑器
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main //定位到【HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Explorer/Main】
3) Add a dword under this key called TabProcGrowth //新建名称为 TabProcGrowth 的Reg_DWORD(整数值)
4) Set TabProcGrowth to 0 //设置 TabProcGrowth 的值为 0
重新启动调试,就恢复正常
如果是Vista或者更新的Win7上则需要:turn off protected mode。
解决方案来源:
VS 2005 Debugger crashing with IE 8 Beta 2
http://social.microsoft.com/Forums/en-US/vsdebug/thread/e2c795cd-b7a0-4fad-b7c9-b1ca40d7302e
IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process. You can work around this by disabling the process growth feature of LCIE. Here’s how:
1) Open RegEdit
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Add a dword under this key called TabProcGrowth
4) Set TabProcGrowth to 0
Since you are running on Windows Server 2003, this is all you should need to do. If you run into the same problem on Vista or newer, you will also need to turn off protected mode.
Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone
You may receive the error "Error while trying to run project: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. Click Help for more information."
This is one of the various errors that appear when you are debugging and may haunt you until you do the following fix:-
1. In the Internet Explorer, "Tools" Menu, select "Internet Options".
2. Switch to "Security" Tab.
3. Click on "Internet" (The Globe Icon. Its actually the default selected).
4. Click on "Custom Level" in the bottom.
5. Scroll down to find the "User Authentication" section.
6. Select "Automatic logon with current username and password".
7. Click "Ok" twice to exit.
This should solve the issue.
Please note that this resolution is specific only if you get the exact error message as mentioned in the beginning of this article. There are various reasons you get the "Unable to start debugging on the webserver". For a complete list of solutions, please check http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vsdebug.asp
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Octavius/archive/2008/06/04/2511794.aspx
相关文章推荐
- IE兼容模式下两个小问题,JSON.stringify和SCRIPT70 无权限
- Opencv学习笔记——release和debug两个模式的运行问题
- Opencv学习笔记——release和debug两个模式的运行问题
- IE兼容模式下两个小问题,JSON.stringify和SCRIPT70 无权限
- 完美解决IE兼容模式问题
- Eclipse使用Debug模式调试Spring Boot项目时跳转到exitCurrentThread的问题
- C++程序在debug模式下遇到Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call问题。
- 记一个IE浏览器兼容模式与IE文档模式不一致的问题
- 解决IE兼容模式问题
- IE对文档的解析模式及兼容性问题
- 360/IE兼容模式下。append 失效,ajax返回json,传值为0问题
- 两个Activity之间跳转问题之activity的四种加载模式
- IE6 两个div有间隙的问题(IE 3px bug)解决方法
- IE兼容模式问题
- IE兼容模式下排版错乱问题解决
- 解决插件在IE增强保护模式下无法运行的问题
- IE8下session共享的问题以及相应的解决方案
- win7下,QT 及 QGLViewer 环境配置总结 | 版本匹配问题 | 解决debug模式下无法打开窗口
- IE7/8当文本模式为杂项"Quirks" 导致JSP页面变样的问题