不开始调试打开IE浏览器的两倍 [英] Start without debugging opens IE twice

查看:115
本文介绍了不开始调试打开IE浏览器的两倍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道我做了什么我在我的笔记本电脑VS2008或IE9,但现在当我开始我的web项目(在IE9中FF和Chrome正常工作)使用开始不调试 ,Visual Studio将我的默认启动页面上启动IE浏览器,然后如果我关闭窗口,打​​开VS我的默认启动页面的另一个IE窗口。

I don't know what I did to my VS2008 or IE9 on my laptop, but now when I start my web projects (in IE9. Works fine in FF and Chrome) using Start Without Debugging, Visual Studio will start IE on my default start page, and then if I close the window, VS opens yet another IE window of my default start page.

有些东西我注意到的是:

Some things I noticed is that:


  • VS输出窗口显示的建筑目录/ MYSITE /'.的两倍,这是第一窗口打开时的挂点(见第3弹)。 更新:我想在输出窗口中显示建设目录/...../'多于一次是正常的,因为我的我的工作电脑上的项目做同样工作正常。但是,在构建过程中,通常在这一点上仍然挂起。

  • 只有当我开始没有调试。如果我开始调试或右键单击页面在Solution Explorer并点击浏览器查看这不会发生。

  • VS前完成建设工程开工的第一个窗口。它停止建设约一半,挂起并打开第一个窗口。然后当我关闭它,VS完成建设并打开第二个窗口。

  • 当第一个页面加载,如果我给另一个窗口焦点或导航到该网站其他页面,IE最终将完成建设,第一窗口将保持,而第二个窗口不显示出来。

  • 当第一个窗口打开时,Windows任务管理器显示两个 IEXPLORER.EXE 工艺,虽然它是唯一的窗口,当我关闭它,只有一个进程进入走,那么第二个窗口中打开,第二个过程回来。然后当我关闭窗口2日,这两个过程消失。

  • 重新启动VS或者我的笔记本电脑没有帮助。

  • VS output window shows Building directory '/mySite/'. twice, and this is the hanging point when the 1st window opens (see 3rd bullet). Update: I guess the output window displaying "Building directory '/...../'" more than once is normal, as my projects on my work PC do the same and works fine. But it still hangs during the build process and usually at this point.
  • It is only when I start without debugging. It doesn't happen if I "Start Debugging" or right click the page in the Solution Explorer and hit "View in Browser".
  • VS starts the first window before it is finished building the project. It stops building about halfway through, hangs and opens the 1st window. Then when I close it, VS finishes building and opens the 2nd window.
  • When the 1st page loads, if I give another window focus or navigate to another page in the site, IE will eventually finish building, the 1st window will remain, and the 2nd window does not show up.
  • When the first window is open, Windows Task Manager shows two iexplorer.exe processes, although it is the only window, and when I close it, only one process goes away, then the 2nd window opens and the 2nd process comes back. Then when I close the 2nd window, both processes disappear.
  • Restarting VS or my laptop doesn't help.

我有搜索此对SO与谷歌和找不到这一特定问题的帮助。我可以尝试重置VS设置,但我想避免这样做。谁能帮我解决这个问题的时候我疯狂过吗?

I have search for this on SO and on google and couldn't find help for this specific problem. I could try resetting the VS settings, but I'd like to avoid doing that. Can anyone help me fix this before I go crazy?

推荐答案

在过去几天中搜索所有后,我发现<一个href=\"http://connect.microsoft.com/VisualStudio/feedback/details/545773/two-instances-of-ie8-launched-when-invoking-start-without-debugging-on-asp-net-mvc2-project-intermittent\"相对=nofollow>此链接其中[微软]建议安装Service Pack 1 VS2008。在链接,他们没有解释这个问题或如何这是什么原因引起的,但在安装SP1解决了这个问题!

After searching all over past couple of days, I found this link which [Microsoft] suggested installing Service Pack 1 for VS2008. In the link, they don't explain what the problem was or how it was caused, but installing SP1 solved the problem!

我的猜测是,这个问题在IE8 / 9的LCIE功能撒谎。虽然由几个职位我发现我没有工作建议为修复:关闭保护模式和/或增加 TabProcGrowth 的值命名为DWORD 0 HKEY_LOCAL_MACHINE-&GT;软件 - &GT; MS&GT; IE-&GT;主营

My guess is that the problem lied in IE8/9's LCIE feature. Although the fix for that as suggested by several posts I've found didn't work for me: Turning off Protection Mode and/or adding a DWORD named TabProcGrowth of value 0 in HKEY_LOCAL_MACHINE->SOFTWARE->MS->IE->MAIN.

不管怎样,我的问题就解决了​​,如果其他人遇到这个问题,尝试安装的 SP1的VS2008 ,并确保运行服务包preparation工具,如果需要的话,事先。

Anyway, my problem is solved and if anyone else comes across this, try installing SP1 for VS2008, and be sure to run the Service Pack Preparation Tool, if needed, beforehand.

这篇关于不开始调试打开IE浏览器的两倍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆