启动时抛出未知异常 [英] Unknown Exception thrown on start up

查看:140
本文介绍了启动时抛出未知异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在商店里有一款表现非常好的应用。 让它失望的唯一原因是在某些机器上启动时会出现异常,用户无需任何解释就会被送回菜单。 不幸的是我无法在我自己的任何机器上重现
这个问题,所以我必须使用其他方法来解决发生的事情。

I have an app in the store that is doing very well.  The only thing that is letting it down is that on some machines there will be an exception on start up and the user is sent back to the menu without any explanation.  Unfortunately I cannot reproduce this problem on any of my own machines so I have to use alternative methods to work out what is going on.

我已经为此问题下载了cab文件并提取了triagedump.dmp。

I have downloaded cab file for this problem and extracted the triagedump.dmp.

当我在visual studio中加载转储文件时,它告诉我异常代码是0xE0434352,我理解这是一个非常常见的.net异常而不是真的告诉你实际出现了什么问题。

When I load the dump file in visual studio it tells me that the exception code is 0xE0434352 which I understand is quite a common .net exception and doesn't really tell you anything about what actually went wrong.

然后我打开Microsoft Symbol Server并将符号目录设置为'C:\ symbols'。

I then switch on the Microsoft Symbol Server and I set the symbol directory to 'C:\symbols'.

然后我选择'Debug with Native Only'。

I then select 'Debug with Native Only'.

在加载所有相关程序集的符号一段时间后,如果最终显示对话框:

After a period of loading the symbols for all the various assemblies involved, if finally displays the dialog:

然后我选择'是',我看到上面的异常对话框。

I then choose 'Yes' and I see the exception dialog above.

接下来我选择'Break'以便我可以看到调用堆栈但是al我看到的是:

Next I choose 'Break' so that I could see the call stack but all I see is this:

调用堆栈并没有真正帮助我,我现在对如何解决这个问题感到茫然。

The call stack doesn't really help me and I'm now at a loss on how to solve this problem.

任何人都可以帮我解决这个问题吗?在尝试从转储文件中获取调试信息时,我有什么问题吗?我不知道从哪里去,所以任何帮助都会受到赞赏。

Can anyone help me with this issue? Is there something I'm doing wrong when trying to get the debug information from the dump file? I don't know where to go from here so any help would be appreciated.

问候

Chris。

推荐答案

您好,

我可以帮忙解决这个问题,您可以将转储文件放在skydrive帐户上并在此处发布链接吗?

I can help with this can you put the dump file on your skydrive account and post the link here?

您看到的基础COM异常似乎是:

It appears that the underlying COM exception that you are getting is:

"找不到元素。 (来自HRESULT的异常:0x80070490)"

"Element not found. (Exception from HRESULT: 0x80070490)"

您是否在启动时扫描网络资源? 您是否希望在启动时填充列表或字典?

Are you scanning for network resources at startup? Are you expecting a list or dictionary to be populated at startup?

我希望这有帮助,

James


这篇关于启动时抛出未知异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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