'/' 應用程式中發生伺服器錯誤。

查詢運算式 'topkey='Y' and kind0=  and show1='Y'' 中的 語法錯誤 (少了運算元)。

描述: 在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外狀況詳細資訊: System.Data.OleDb.OleDbException: 查詢運算式 'topkey='Y' and kind0=  and show1='Y'' 中的 語法錯誤 (少了運算元)。

原始程式錯誤:


行 227:
行 228:
行 229:        dv = ads.Select(New DataSourceSelectArguments)
行 230:
行 231:        Dim objPage As New PagedDataSource

原始程式檔: E:\rwd88\lin\shop0.aspx.vb    行: 229

堆疊追蹤:


[OleDbException (0x80040e14): 查詢運算式 'topkey='Y' and kind0=  and show1='Y'' 中的 語法錯誤 (少了運算元)。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1233516
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +208
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +162
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +110
   System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +9
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +139
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +136
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +86
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1474
   System.Web.UI.WebControls.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +62
   System.Web.UI.WebControls.SqlDataSource.Select(DataSourceSelectArguments arguments) +22
   index.DataListDataBind() in E:\rwd88\lin\shop0.aspx.vb:229
   index.Page_Load(Object sender, EventArgs e) in E:\rwd88\lin\shop0.aspx.vb:33
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4087.0