Attaching the Script debugger to process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed

前端 未结 5 2064
刺人心
刺人心 2021-02-06 15:05

Few days ago I started getting the following error when I try to run/debug my web application using F5 in Visual Studio 2008:

Attaching the Script debugger to proces

相关标签:
5条回答
  • 2021-02-06 15:47

    Here how I fixed this:

    Start, run: regsvr32 c:\windows\system32\oleaut32.dll

    0 讨论(0)
  • 2021-02-06 15:47

    Make sure you register the dll from an elevated command prompt.

    0 讨论(0)
  • 2021-02-06 15:48

    Having exited all instances of Internet Explorer (but not VS), I tried

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

    but got an error message LoadLibrary(%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll) failed - 0x0000007e.

    After checking the file system I found the DLL and tried this:

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

    which fixed it.

    0 讨论(0)
  • 2021-02-06 15:52

    This works but it is:

    regsvr32 c:\windows\system32\oleaut32.dll 
    

    not

    regsrv32 c:\windows\system32\oleaut32.dll 
    
    0 讨论(0)
  • 2021-02-06 15:59

    I had the same problem, run this command fixed my problem:

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

    the key point of running this must start Command Prompt under 'Run as administrartor'

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