Attaching the Script debugger to process ‘[5836] iexplore.exe’ on machine ” failed. A debugger is already attached.

If you get this error message when running a c# application in Visual Studio 2010 by pressing F5 (Start Debugging) then the chances are you have multiple browsers installed and this has caused problems with the debugger.

—————————
Microsoft Visual Studio
—————————
Attaching the Script debugger to process ‘[5836] iexplore.exe’ on machine ‘machinename’ failed. A debugger is already attached.
—————————
OK
—————————

Debugging still works but you have to cancel the annoying message in Visual Studio every time.

To get rid of the error message simple close all browsers (leave VS 2010 running if you like) and then in a command window with admin privilege, simply enter the following command then continue debugging as you were before the problem started. Simple!

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

Advertisements

About davidbridge

I am a contractor for David Bridge Technology Limited specialising in database design and Web development using Microsoft technologies such as c#, MVC .net and SQL Server (full stack)
This entry was posted in Developer stuff. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s