输出窗口中的错误 - 已管理'已退出,代码为 -2147023895 (0x800703e9)
我无法在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
天啊,这不完全是一个答案,但至少它可能对某人有帮助。我遇到了类似上面的问题,但是是在 Visual Studio 2005 Pro SP1 中。一切都正常,然后突然什么都不起作用了。
我尝试了各种不同的事情和想法...甚至尝试简单地创建一个新的 Windows 应用程序并尝试在调试模式下启动它(发生了同样的事情,出现了同样的消息 - 一次又一次从 VS 看到以下输出,我的心碎了调试输出窗口:
甚至认为我可能弄乱了计算机上的 .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:
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!
此错误主要发生在当您将代码从 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 work78692110
如果您使用的是 .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