Visual Studio 2010 with IE 11 and 2.0 classic web

2019-08-20 03:34发布

i am using IIS in a visual studio 2010 solution with Integrated 4.0 and 2.0 Classic web pools. when i use IE 11 over the Inet to "try" and login, the app fails.

yes i know about changing settings but this cannot happen on my web site. Any thoughts on what is happening and / or why?

i have not tried to bring up the app using IE 11, any ideas on the "surprises" i will find? thanks for any comments, they are appreciated.

2条回答
SAY GOODBYE
2楼-- · 2019-08-20 03:43

My apologies if this is wide of the OP's question, but I also had problems using Studio 2010 with the new IE 11 (googling those two terms led me here, and John B's post led me to answer). Specifically Studio's debugger would fail to attach to IE 11 while I was launching a Silverlight project.

John B linked to an MSDN patch. After I installed it, Studio still would fail to attach to IE11, but at least this time I got an error message: "The 32-bit version of the Visual Studio Remote Debugging Monitor (MSVSMON.EXE) cannot be used to debug 64-bit processes or 64-bit dumps. Please use the 64-bit version instead."

From that message I found out that Silverlight can only run in 32-bit mode. And both IE10 and IE11 cannot run in 32-bit mode when they place all the tabs into a single 64-bit process. However, if "Enhanced Protected Mode" is enabled (which it was for me by default, it's under Internet Options' Security tab) and you change this registry value...

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\TabProcGrowth

...to be something more than 0 (I set mine to 5, not sure it matters much as long as it's more than 0), then IE11 is able to spawn 32-bit processes and Studio is able to launch a 32-bit browser instance that it can attach the Silverlight debugger to.

A few related articles...

http://support.microsoft.com/kb/2716529

https://superuser.com/questions/561036/unable-to-open-ie-10-in-32-bit-mode

http://connect.microsoft.com/VisualStudio/feedback/details/774460/cannot-debug-silverlight-win7-x64-ie10

Hope this helps someone.

查看更多
姐就是有狂的资本
3楼-- · 2019-08-20 03:52

I had the same issue using VS2010. I knew this problem existed with IE 10 and I somehow let the automatic updates install IE 11.

I found this fix from MS and it resolved the issue for me:

http://blogs.msdn.com/b/visualstudioalm/archive/2013/09/17/coded-ui-mtm-issues-on-internet-explorer-with-kb2870699.aspx

查看更多
登录 后发表回答