asp.net 软件出错,求解决。

来源:百度知道 编辑:UC知道 时间:2024/07/04 02:43:53
Server Error in '/DKHDhotel' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DKHDHotel.Internet.HotelTrade.zhuanindex.xde97676d01739ced(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6

未处理的异常的过程中生成的执行当前Web请求。信息源和异常的位置可确定使用下面异常堆栈跟踪。

这是错误提示
你好好检查一下你的代码
是不是在实例化前就你就在使用了。。。