Server Error in '/' Application.

Incorrect syntax near the keyword 'order'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Incorrect syntax near the keyword 'order'.

Source Error:


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

Source File: C:\HQ_WEB\WEB\TteSports\global\App_Code\SysDbAccess.vb    Line: 70

Stack Trace:


[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


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8951