输出窗口中的错误 - 已管理'已退出,代码为 -2147023895 (0x800703e9)

发布于 2024-10-06 22:33:40 字数 438 浏览 0 评论 0原文

我无法在 Visual Studio 2008 中运行 Windows 应用程序。程序一直工作正常,直到我开始在输出窗口中收到错误 - ” 程序“[2260] MUS3.vshost.exe:托管”已退出,代码为 -2147023895 (0x800703e9)。 “这种情况甚至在代码执行开始之前就发生了。

有什么帮助吗?提前致谢,

我将整个错误放在这里

“MUS3.vshost.exe”(托管):已加载 'D:\文件和 设置\管理员\桌面\MUS TEMP\trunk\Dev\Source\Source\Binaries\MUS3.exe', 符号已加载。忽略托管 来自未知线程的异常。 程序'[2260] MUS3.vshost.exe: 托管'已退出并带有代码 -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).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

合约呢 2024-10-13 22:33:40

天啊,这不完全是一个答案,但至少它可能对某人有帮助。我遇到了类似上面的问题,但是是在 Visual Studio 2005 Pro SP1 中。一切都正常,然后突然什么都不起作用了。
我尝试了各种不同的事情和想法...甚至尝试简单地创建一个新的 Windows 应用程序并尝试在调试模式下启动它(发生了同样的事情,出现了同样的消息 - 一次又一次从 VS 看到以下输出,我的心碎了调试输出窗口:

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

甚至认为我可能弄乱了计算机上的 .NET 版本 好吧,但至少在我的情况下,事情终于变得简单了,也许这仅适用于我的情况(愚蠢的我) - 但不知何故在应用程序属性中。 -> 调试选项卡,名为“启用非托管代码调试”的单选按钮未被选中,检查后,似乎加载了更多“库”,尽管没有符号......

并且......

程序神奇地正常启动。调试器实际上会进入断点,我不太知道或怀疑为什么会这样 - 欢迎任何建议!

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!

硪扪都還晓 2024-10-13 22:33:40

此错误主要发生在当您将代码从 Visual Studio 的一个版本移动到另一个最新版本时。
在旧版本中,如果您使用的是最新的框架,例如 4.5
在初始阶段,警告是!(您的应用程序未针对确切的框架)

然后,首先您应该针对框架(单击“项目”而不是“解决方案”,转到属性 - >应用程序< /code> 设置你的框架)

然后清理并重建。如果不起作用,那么您应该使用一个Window Form,它不操作数据库中的任何数据或创建一个新文件夹,在该文件夹中创建一个新表单,然后通过主函数运行。我希望这会起作用
78692110

This Error occurred mostly at that when you move your code from one version of visual studio to another latest version.
In older version if you are using latest framework like 4.5
At initial stage Warning is !(Your Application Not Target the Exact Framework)

Then First you should target the Framework(Click on Project rather than Solution go to properties ->Application set your framework)

Then clean and rebuild. If not working then You should use a Window Form which not manipulate any data from DataBase or create a new folder, in that folder create a new Form then this from Run through the main function. I hope this will work
78692110

风情万种。 2024-10-13 22:33:40

如果您使用的是 .net 2013,则转到项目,然后在属性窗口中转到引用并添加 Microsoft ADO 数据控件的引用,现在就可以使用

if you're using .net 2013, then go to project, then at the property windows go to references and add the references for the Microsoft ADO Data Control ,it will work now

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文