Houda
Houda

Reputation: 836

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

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!!

Upvotes: 4

Views: 8848

Answers (5)

diwatu
diwatu

Reputation: 5699

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'

Upvotes: 9

Leigh
Leigh

Reputation: 71

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.

Upvotes: 0

Shawn Doe
Shawn Doe

Reputation: 145

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

Upvotes: 0

Houda
Houda

Reputation: 836

Here how I fixed this:

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

Upvotes: 1

bkraider
bkraider

Reputation: 53

This works but it is:

regsvr32 c:\windows\system32\oleaut32.dll 

not

regsrv32 c:\windows\system32\oleaut32.dll 

Upvotes: 1

Related Questions