如何修复 .NET Windows 应用程序在启动时崩溃并显示异常代码:0xE0434352? [英] How do I fix a .NET windows application crashing at startup with Exception code: 0xE0434352?

查看:100
本文介绍了如何修复 .NET Windows 应用程序在启动时崩溃并显示异常代码:0xE0434352?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 2010 中构建了一个 .NET Windows Forms 应用程序.我还构建了通过 Visual Studio 2010 获得相应的安装/安装包.这是作为 32 位 (x86) 应用程序构建的.(我们使用仅限 32 位的第三方 Windows 窗体控件).

I've built a .NET Windows Forms application in Visual Studio 2010. I also built a corresponding setup/install package via Visual Studio 2010. This is built as a 32-bit (x86) application. (We make use of third-party Windows Forms controls that are 32-bit only).

我能够运行安装包并成功部署到其他 Windows 7 64 位环境和 32 位 Windows XP 机器.已安装的应用程序在这些设备上运行良好.

I am able to run the setup package and deploy successfully to other Windows 7 64-bit environments and 32 bit Windows XP boxes. The installed application runs fine on these.

但是,当我尝试运行 Windows Server 2008 R2 - 64 位时,应用程序崩溃在启动时.它通过安装程序成功安装,没有任何错误.

However, when I attempt to run Windows Server 2008 R2 - 64 bit, the application crashes at startup. It installed successfully via the installer without any errors.

它似乎在加载应用程序时崩溃.我把一个消息框作为应用程序的第一行,看看它是否超过加载.消息框没有出现,所以我假设它发生在应用程序的加载/初始化过程中.

It appears to crash when loading the application. I put a message box as the first line in the application to see if it got past loading. The message box doesn't show up, so I assume that it occurs during loading/init of the application.

到目前为止,我还没有找到很多事情要做.从详细信息中,我看到以下内容:

So far I haven't found much to go on. From the Details I see the following:

Exception Code: E0434352

我四处钓鱼/谷歌搜索,看看是否有任何明显的东西,但我什么也没看到.我在 CLR 中看到了一些对可能的堆栈溢出的引用.

I've fished around/googled to see if there was anything obvious, but I saw nothing. I saw some references to a possible stack overflow in the CLR.

Windows 窗体应用程序是使用以下参考构建的:

The Windows Forms application is built with the following references:

  • DevExpress
  • Infragistics Winforms 控件
  • ORACLE 数据访问 DLL
  • RabbitMQ

这是什么问题?我该如何解决这个问题?如何调试以获得更多有用的信息?

What is the issue? How do I approach figuring this out? How do I debug to get more useful information?

推荐答案

0xE0434352 是 所有 .NET 异常的异常代码 所以这不会告诉你太多.你是怎么得到这个异常代码的?事件日志?

0xE0434352 is the exception code for all .NET exceptions so that won't tell you much. How did you got this exception code? The event log?

最好的办法是使用调试器来获取更多信息.如果 Visual Studio 调试器不能帮助您,那么您可能需要查看 WinDbgSOS.请参阅此处这里 的介绍.让它在异常上中断,看看您是否可以获得有关原因的更多信息.

Your best bet is to use a debugger to get more information. If the Visual Studio debugger won't help you, then you might need to check out WinDbg with SOS. See here and here for an introduction. Let it break on the exception, and see if you can get more information on the why.

如果您怀疑加载程序集时出现问题,您可能需要查看 融合日志.

If you suspect it is an issue when loading assemblies you might want to check out the Fusion Log.

这篇关于如何修复 .NET Windows 应用程序在启动时崩溃并显示异常代码:0xE0434352?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆