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

SQLite error
near "order": syntax error

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

异常详细信息: System.Data.SQLite.SQLiteException: SQLite error
near "order": syntax error

源错误:

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

堆栈跟踪:


[SQLiteException (0x80004005): SQLite error
near "order": syntax error]
   System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain) +945
   System.Data.SQLite.SQLiteCommand.BuildNextCommand() +287
   System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index) +18
   System.Data.SQLite.SQLiteDataReader.NextResult() +159
   System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) +87
   System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) +38
   System.Data.SQLite.SQLiteCommand.ExecuteReader() +6
   DcSqlite.SqlSession.GetTable(String Sql) +74

[SessionException: Get List error]
   DcSqlite.SqlSession.GetTable(String Sql) +203
   Dcms.Controls.Drepeater.RenderRepTemp(Int32 layerI, String Sql) +311
   Dcms.Controls.Drepeater.Render(HtmlTextWriter output) +378
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.8974; ASP.NET 版本:2.0.50727.8974