VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed

前端 未结 12 2452
感情败类
感情败类 2020-12-02 04:32

So I am using Win7 x64 with VS2010 and have installed the IE10 Win7 Preview and ReSharper 6.1.

When I attempt to Start Debugging, I receive the following:

相关标签:
12条回答
  • 2020-12-02 05:13

    The IE10 upgrade resets a whole bunch of stuff. I followed 2 steps to fix this.

    1. In IE Advanced settings, under browsing remove the tick on "Disable script debugging (Internet Explorer)"
    2. Running this in command prompt (with administrator rights): -

      regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll

    The combination of these 2 and a browser restart of course fixed it for me.

    I also agree, the marked solution above of un-installing is hardly a proper solution.

    0 讨论(0)
  • 2020-12-02 05:13

    I have exactly the same problem .. I found a temporary solution but I have to execute each time the same sequence is as follows.

    1. Click on the menu "Debug"
    2. Click on the "Window" menu
    3. Click on the menu "Processes"
    4. And right click on iexplorer.exe and "detach the process"

    The problem is that every time I have to repeat this procedure every compilation of my project ...

    0 讨论(0)
  • 2020-12-02 05:15

    There is a simpler fix for the JavaScript debugging issue in IE10:

    1. Close IE
    2. In elevated cmd prompt run this command:

      regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
      

    (or %ProgramFiles% on a 32-bit OS)

    0 讨论(0)
  • 2020-12-02 05:16

    Someone suggested that running this in an elevated command prompt would do the trick:

    regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
    

    I tried it and it reported the dll was not found. I searched for the msdbg2.dll and it was not found. It is, apparently, hidden.

    I ran:

    regsvr32.exe "C:\Program Files (x86)\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
    

    and it worked.

    This was on Windows 7, 64 bit, VS2010 Premium

    0 讨论(0)
  • 2020-12-02 05:18

    I have VS2010 and VS2012 on the PC. It was ASP.NET project and it didn't work for JS debugging. I try both version results was the same. Everything I did was out of success:

    1. regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll" - didn't help
    2. Checked/Unchecked "Silverlight" checkbox at the Property Page - no
    3. Downgrade from IE 10 -> IE 9 -> IE 8 - no luck
    4. Repair VS 2010 - doesn't work for me
    5. In IE "Advanced settings" unchecked "Disable script debugging (Internet Explorer)" and "Disable script debugging (Other)" - no

    Finally, I have installed "Remote Tools for Visual Studio 2012 Update" and "VS2012 Update 4". I'm not sure what is fixed issue but it gone. And VS2010 and VS2012 started debugging JavaScript. Therefore, it seems some components were corrupted. Today, I think, best choice to fix this should be re-install IE, I mean downgrade it and install again, further you can install Update 4 for VS2012.

    Please note:

    "In Property Page window check box “Silverlight” must be unchecked"

    0 讨论(0)
  • 2020-12-02 05:22

    I was having the same problem with VS2010 & IE10 (Win7). After weeks of trying to resolve this issue I finally decided to fire up VS2012 to debug my site. I also updated VS2012 to SP1 and restarted my machine and now VS2010 debugging works fine in IE10.

    So try installing VS2012 SP1 to fix compatibility issues with VS2010 & IE10.

    0 讨论(0)
提交回复
热议问题