Server Error in '/' Application.

Syntax error (missing operator) in query expression 'eventID='.

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.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression 'eventID='.

Source Error:


Line 124:        Dim myCommand As New OleDbCommand(strSQL, myConnection)
Line 125:        myConnection.Open()
Line 126:        myReader = myCommand.ExecuteReader()
Line 127:
Line 128:    End Sub

Source File: E:\Domains\u\ukgrandsales.co.uk-1070165168\user\htdocs\App_Code\common.aspx.vb    Line: 126

Stack Trace:


[OleDbException (0x80040e14): Syntax error (missing operator) in query expression 'eventID='.]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1217017
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +256
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +216
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +60
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +164
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +115
   System.Data.OleDb.OleDbCommand.ExecuteReader() +12
   commonCode.openReader(String strSQL) in E:\Domains\u\ukgrandsales.co.uk-1070165168\user\htdocs\App_Code\common.aspx.vb:126
   details.getData() in E:\Domains\u\ukgrandsales.co.uk-1070165168\user\htdocs\details.aspx.vb:12
   details.Page_Load(Object sender, EventArgs e) in E:\Domains\u\ukgrandsales.co.uk-1070165168\user\htdocs\details.aspx.vb:7
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0