One cause for ‘The debugger is not properly installed’ in Visual Studio 2002/3


Way back in 2004 I posted an article talking about the ‘The debugger is not properly installed’ in Visual Studio 2002/3. Today I wanted to briefly talk about another reason for seeing this problem that an extremely helpful user pointed out (thanks Joel!).


If running debugger diagnostics shows:



Result of ‘CoCreateMachineDebugManager(&spMachine)’ is ‘800401f9


Then you may have bad registry entries under HKEY_CLASSES_ROOT\CLSID\{73b25ffd-f501-437b-8b11-7f0de383964f}. If you have an ‘InprocHandler32’ key under there, then this is your problem.


To fix it:



  1. Open a command prompt

  2. cd /d “%CommonProgramFiles%\Microsoft Shared\vs7debug”

  3. mdm.exe /unregserver

  4. Open regedit.exe and check if HKEY_CLASSES_ROOT\CLSID\{73b25ffd-f501-437b-8b11-7f0de383964f} still exists. I think it will. If so, delete it.

  5. mdm.exe /regserver

  6. net stop mdm

  7. net start mdm

  8. Relaunch Visual Studio


Comments (2)

  1. ilias says:

    sorry to bother you, but i’m trying to fix problem with debugger. diagnostic program output is:

    Begin ‘CheckMDMImage()’

    mdm.exe: version ‘7.10.6030’ with hash ‘{F1F7AEF9-AE53057E-4FAF0210-5EF79D59-708B065C}’.

    Result of ‘CheckMDMImage()’ is ‘00000000’

    Begin ‘CheckMSDBG2Image()’

    msdbg2.dll: version ‘8.0.50727.42 (RTM.050727-4200)’ with hash ‘{40384B22-2318657D-552F2857-36486D62-D7E30ACD}’.

    Result of ‘CheckMSDBG2Image()’ is ‘00000000’

    Begin ‘CheckCSMImage()’

    csm.dll: version ‘8.0.50727.42 (RTM.050727-4200)’ with hash ‘{E48BD63D-9F1908C9-BF21D221-86C0A063-DC16A625}’.

    Result of ‘CheckCSMImage()’ is ‘00000000’

    Begin ‘CheckPDMImage()’

    pdm.dll: version ‘8.0.50727.42 (RTM.050727-4200)’ with hash ‘{23748706-6444407F-806A2C69-147C2A1A-78C5B7DC}’.

    Result of ‘CheckPDMImage()’ is ‘00000000’

    Begin ‘CheckColoaderImage()’

    coloader.dll: version ‘7.10.3077’ with hash ‘{99F5CF35-F8E1E70C-F0391014-22528686-9807C257}’.

    coloader.tlb: hash {CF0AEEDA-C0BC2E64-877D923E-9660E04F-ED949C15}.

    Result of ‘CheckColoaderImage()’ is ‘00000000’

    Begin ‘CheckColoader80Image()’

    coloader80.dll: version ‘8.0.50727.42 built by: RTM’ with hash ‘{382A8F76-B0CA67B4-ADC19F33-AAB4D081-CAFAADF6}’.

    coloader80.tlb: hash {63D842E5-5F578782-DCC3AA35-DD867CC6-5B5F5BA3}.

    Result of ‘CheckColoader80Image()’ is ‘00000000’

    Begin ‘CoInitialize(NULL)’

    Result of ‘CoInitialize(NULL)’ is ‘00000000’

    Begin ‘InitializeCOMSecurity()’

    Result of ‘InitializeCOMSecurity()’ is ‘00000000’

    Begin ‘CoCreateCoLoaderApt(&spLoaderApt)’

    CoCreating the 7x loader returned 00000000

    CoCreating the 80 loader returned 00000000

    Result of ‘CoCreateCoLoaderApt(&spLoaderApt)’ is ‘00000000’

    Begin ‘CoCreateCoLoaderFree(&spLoaderFree)’

    CoCreating the 7x loader returned 80040155

    CoCreating the 80 loader returned 80040155

    Result of ‘CoCreateCoLoaderFree(&spLoaderFree)’ is ‘80004005’

    but registering (and unregistering) coloader.dll and coloader80.dll doesn’t help.

  2. Gooey Bugs says:

    Introduction This FAQ can be used to narrow down the problems associated with debugging any type of solution