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

房东的猫 提交于 2019-12-20 16:51:08

问题


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 process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed. The process does not have sufficient privileges to be debugged.

I am using Visual Studio 2008, IE8 and Visual Studio Development Server(as my web server)

I did look around and couldn't find much on the web!!


回答1:


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'




回答2:


This works but it is:

regsvr32 c:\windows\system32\oleaut32.dll 

not

regsrv32 c:\windows\system32\oleaut32.dll 



回答3:


Here how I fixed this:

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




回答4:


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




回答5:


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.



来源:https://stackoverflow.com/questions/3232995/attaching-the-script-debugger-to-process-xxxx-iexplore-exe-on-machine-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!