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

Incorrect syntax near the keyword 'order'.

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

例外詳細資訊: System.Exception: Incorrect syntax near the keyword 'order'.

原始程式錯誤:


行 68:         Catch ex As Exception
行 69:             Throw New System.Exception(ex.Message)
行 70:             Return Nothing
行 71:         Finally
行 72:             da.Dispose()

原始程式檔: C:\HQ_WEB\WEB\TteSports\global\App_Code\SysDbAccess.vb    行: 70

堆疊追蹤:


[Exception: Incorrect syntax near the keyword 'order'.]
   SysDbAccess.ExecuteDataTable(String sql) in C:\HQ_WEB\WEB\TteSports\global\App_Code\SysDbAccess.vb:70
   mobile_category.Page_Load(Object sender, EventArgs e) in C:\HQ_WEB\WEB\TteSports\global\mobile\category.aspx.vb:15
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本資訊: Microsoft .NET Framework 版本:2.0.50727.8813; ASP.NET 版本:2.0.50727.8951