Search code examples
visual-studiovisual-studio-2008memory-managementthread-safetymanaged

Error in Output Window - Managed' has exited with code -2147023895 (0x800703e9)


I am unable to run a windows application in Visual Studio 2008. Program has been working fine until I started getting an error in the Output Window - " The program '[2260] MUS3.vshost.exe: Managed' has exited with code -2147023895 (0x800703e9). " This happens even before execution of the code begins.

Any help ? Thanks in Advance

I am placing the entire error here

'MUS3.vshost.exe' (Managed): Loaded 'D:\Documents and Settings\Administrator\Desktop\MUS TEMP\trunk\Dev\Source\Source\Binaries\MUS3.exe', Symbols loaded. Ignoring managed exception from unknown thread.The program '[2260] MUS3.vshost.exe: Managed' has exited with code -2147023895 (0x800703e9).


Solution

  • Hell, this is not quite an answer, but at least it might help someone. I met with something like the above problem, but in Visual Studio 2005 Pro SP1. Everything had been working and then suddenly nothing worked. I tried all sorts of different things and ideas... even tried simply creating a new windows application and trying to start it in debug mode (same thing happened, same message appeared - my heart broke seeing the following output again and again from the VS debug output window:

    'WindowsApplication1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    Process is terminated due to StackOverflowException.
    Ignoring managed exception from unknown thread.The program '[1856] WindowsApplication1.exe: Managed' has exited with code -2147023895 (0x800703e9).
    

    Even thought that i maybe messed the .NET versions on my computer. Well, but at least in my case things finally were much simpler, and maybe this applies for my case only (silly me) - but somehow in Application Properties -> Debug tab, the radio button named "Enable unmanaged code debugging" was unchecked. After checking it, more "libraries" seem to be loaded, albeit with no symbols....

    and...

    magically the program is started normally and the debugger actually steps in on a breakpoint. i don't quite know or suspect why this think worked out like this - any suggestions are welcome!