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