“/”应用程序中的服务器错误。

对象名 'Comments' 无效。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.OleDb.OleDbException: 对象名 'Comments' 无效。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[OleDbException (0x80040e37): 对象名 'Comments' 无效。]
   System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) +1033278
   System.Data.OleDb.OleDbDataReader.NextResult() +421
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +235
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +116
   System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +4
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
   ZxWeb.Database.Main.Select(String vSQL) in c:\inetpub\wwwroot\ZxWeb\class\ZxWeb.Database.cs:28
   ZxWeb.Database.Comment.GetComments(Int64 vCommentSubjectID) in c:\inetpub\wwwroot\ZxWeb\class\ZxWeb.Database.Comment.cs:744
   ZxWeb.comment1._0.PageLet.CommentList.BindDataSource() in c:\inetpub\wwwroot\ZxWeb\comment1.0\PageLet\CommentList.ascx.cs:63
   ZxWeb.comment1._0.PageLet.CommentList.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\ZxWeb\comment1.0\PageLet\CommentList.ascx.cs:56
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.9061; ASP.NET 版本:2.0.50727.9062