返回列表 发帖

来自实际查看器 应用程序的警告

类似的警告每天有个十几次。但我看了网站代码是没有问题的,请问高手 产生这样警告的原因是什么啊?

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2008-12-24 15:54:56
Event time (UTC): 2008-12-24 7:54:56
Event ID: 97e7349e73c14d30a1bbe84d53d1e9ad
Event sequence: 11614
Event occurrence: 13
Event detail code: 0

Application information:
    Application domain: /LM/W3SVC/57094027/Root-1-128745544239531250
    Trust level: Full
    Application Virtual Path: /
    Application Path: D:\Site\52jxh\
    Machine name: MESUN-UGZJ41434

Process information:
    Process ID: 5236
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
    Exception type: IndexOutOfRangeException
    Exception message: Cannot find table 0.

Request information:
    Request URL: http://www.52jxh.com/ifm/leftphb.aspx
    Request path: /ifm/leftphb.aspx
    User host address: 125.91.253.166
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
    Thread ID: 5
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Data.DataTableCollection.get_Item(Int32 index)
   at DBClass.BindDataList(String sql, DataList mydatalist) in d:\Site\52jxh\App_Code\Common\DBClass.cs:line 245
   at leftphb.Page_Load(Object sender, EventArgs e) in d:\Site\52jxh\ifm\leftphb.aspx.cs:line 28
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

应该是在执行某些.net代码产生错误了引起的

TOP

关键信息:
An unhandled exception has occurred.

Exception information:
    Exception type: IndexOutOfRangeException
    Exception message: Cannot find table 0.

网页代码编写有问题,看一下你页面的查询数据库的语句。
不要让生活磨灭我的性格!

TOP

返回列表