帮助跟踪应用程序错误 [英] Help Tracking Down an Application Error
问题描述
大家好,
我最近在我的应用程序中实现了一个全局错误捕获程序,每次发生错误时都会向我发送一封电子邮件。我经常看到一个我无法追踪的错误似乎与Crystal Reports有关。但是,在我的应用程序中,我没有使用Crystal Reports。我认为它可能安装在我的开发盒上的库中,而不是安装在服务器上(dev和prod都发送此错误)。
这是错误 - 我不能告诉它在抛出之前发生了什么,当我在获取它之前询问他们正在做什么时,响应已经混合了。
Hi All,
I recently implemented a global error catcher in my application that sends me an e-mail every time an error happens. One error I''m seeing regularly that I can''t track down appears to have something to do with Crystal Reports. However no where in my application am I using Crystal Reports. I think it may be installed in the Library on my dev box and not on the servers (dev and prod both sending this error).
Here is the error - I can''t tell what is happening just prior to it being thrown and when I have asked uses what they were doing prior to getting it the response has been mixed.
推荐答案
确实很奇怪。您是否浏览过所有页面/应用程序,检查未使用的crystalreports引用?
请务必检查参考文献中列出的DLL以及所有aspx和后端代码页中的文本。 (有时引用是逐页完成的)
我没有看到堆栈跟踪中列出的任何用户代码,只有自动.NET代码,这就是我怀疑的原因已经在某个地方引用了它。
Hmm strange indeed. Have you gone through all your pages/applications checking for unused references to crystalreports?
Be sure to check for a DLL listed in the references as well as text in all your aspx and backend code pages. (Sometimes references are done "page-wise")
I don''t see any user code listed in the stack trace, only automatic .NET code, which is why I suspect a reference had been made to it somewhere.
我在webconfig中看不到任何类似于Crystal Reports的引用 - 我在整个Project中查找了术语Crystal ;空出来了。
这是我的Web配置供审核(警告它很大)
I don''t see any reference in the webconfig to anything that looks like Crystal Reports - I searched my entire Project for the term "Crystal" and came up null.
Here is my Web Config for review (warning it''s big)
您使用的任何组件都需要水晶报告吗?你有很多。
Do any of those assemblies you are using require crystal reports? You have a lot of them.
这篇关于帮助跟踪应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!