如何处理web.dll中出现的错误未处理异常 [英] How do I handle error unhandled exception occured in web.dll

查看:85
本文介绍了如何处理web.dll中出现的错误未处理异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当这个错误弹出时,我正在运行一个asp.net应用程序。

help



我尝试过:



撤消对代码的更改但没有变化,但是当我在弹出的msg框中按继续时,我到达页面但我没有显示任何数据表。

我试图使用单个存储过程在一个表上显示来自两个表的数据。

我已经使用了select语句并且内部加入了它们的公共字段。然后使用sqldatapter来填充它。

i was running an asp.net application when this error popped up.
help

What I have tried:

undoing changes to code but no change but when i press continue on the pop up msg box i get to the page but no data is displayed by my table.
I am trying to display data from two tables on one table using a single stored procedure.
I have used select statements and inner joined on their common field then .then used sqldatapter to fill it.

推荐答案

首先使用 try ... catch 块来捕获异常本身,要么从异常对象显示更多相关信息,记录它,要么使用调试器检查它(以及抛出它的代码)来查找。



我们无法为您做任何事情:这取决于您的代码 - 我们还没有 - 您的数据 - 我们没有 - 并且可能访问您的数据库系统tem - 我们还没有!
Start by using a try ... catch block to catch the exception itself, and either display more relevant information from the exception object, log it, or use the debugger to examine it (and the code that threw it) to find out.

We can't do anything about this for you: it depends on your code - which we haven't got - your data - which we haven't got - and probably access to your database system - which we also haven't got!


这篇关于如何处理web.dll中出现的错误未处理异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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