Starting without debugging opens IE twice

I don’t know what I did with my VS2008 or IE9 on my laptop, but now when I launch my web projects (in IE9, it works fine in FF and Chrome), using Start without debugging , Visual Studio will launch IE on the start page by default, and then if I close the window, VS will open another IE window of my default homepage.

Some things that I noticed are that:

  • The VS output window displays Building directory '/ mySite /'. twice, and this is the suspension point when the first window opens (see 3rd bullet). Update . I think the output window displaying "Building directory" /...../" several times is normal, since my projects on my working PC do the same and work fine. But it still hangs during the process assembly and usually at this point.
  • This is only when I start without debugging. This does not happen if "Start Debugging" or right-click a page in Solution Explorer and click "View in Browser."
  • VS launches the first window before completing the project. He stops building about halfway, hangs and opens the 1st window. Then, when I close it, VS finishes building and opens a second window.
  • When the 1st page loads, if I give another window focus or switch to another page on the site, IE will eventually finish the construction, the first window will remain, and the second window will not appear.
  • When the first window is open, the Windows task manager shows two processes iexplorer.exe , although this is the only window, and when I close it, only one process leaves, then the second window opens and the second process returns, Then, when I close the second window, both processes disappear.
  • Restarting VS or my laptop does not help.

I have searched this on SO and on google and could not find help for this particular problem. I could try resetting the VS settings, but I would like to avoid this. Can someone help me fix this before losing my mind?

+1
visual-studio-2008 internet-explorer-9
source share
1 answer

After searching over the past few days, I found this link that [Microsoft] suggested installing Service Pack 1 for VS2008. In the link, they do not explain what the problem is or how it was caused, but installing SP1 solved the problem!

I assume the problem is with IE8 / 9 LCIE function. Although the fix for this suggested by several posts that I found does not work for me: Disabling protection mode and / or adding DWORD with the name TabProcGrowth value 0 in HKEY_LOCAL_MACHINE->SOFTWARE->MS->IE->MAIN .

In any case, my problem is resolved, and if someone else encounters this, try installing SP1 for VS2008 and be sure to run the Service Pack Preparation Tool, if necessary, in advance.

0
source share

All Articles