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

子查询返回的值不止一个。当子查询跟随在 =、!=、<、<=、>、>= 之后,或子查询用作表达式时,这种情况是不允许的。

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

异常详细信息: System.Data.OleDb.OleDbException: 子查询返回的值不止一个。当子查询跟随在 =、!=、<、<=、>、>= 之后,或子查询用作表达式时,这种情况是不允许的。

源错误:


行 66:         data_conn conn1 = new data_conn();
行 67:         da1 = conn1.mdb_da(sql);
行 68:         da1.Fill(ds1, table);
行 69:         return ds1;
行 70:     }

源文件: e:\websites\N21ce8080\App_Code\data_conn.cs    行: 68

堆栈跟踪:


[OleDbException (0x80004005): 子查询返回的值不止一个。当子查询跟随在 =、!=、<、<=、>、>= 之后,或子查询用作表达式时,这种情况是不允许的。]
   System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) +1595292
   System.Data.OleDb.OleDbDataReader.NextResult() +456
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +319
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +143
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +214
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +180
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +123
   data_conn.mdb_ds(String sql, String table) in e:\websites\N21ce8080\App_Code\data_conn.cs:68
   live_livepreview_detail.LoadBase() in e:\websites\N21ce8080\live\livepreview_detail.aspx.cs:75
   live_livepreview_detail.Page_Load(Object sender, EventArgs e) in e:\websites\N21ce8080\live\livepreview_detail.aspx.cs:32
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1607


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4075.0