Created By
DMG Development
As Seen On

Main Page  |  Forums  |  Register  |  Active Topics  |  Members  |  Search

 
Username:
Password:
DMG Forums >> DMG Forums Discussion >> General Discussion >> Error In Connection to Sql Server ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Inco
Error In Connection to Sql Server ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Inco
Author Topic
Mayura


Newbie

Join Date: 3/30/2013
Posts: 3

Posted: 4/2/2013 5:53:13 AM

Hii

I got error

ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'AND'.


Stack Trace:


[OdbcException (0x80131937): ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'AND'.]
System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +80
System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) +3341
System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) +91
System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior) +72
DMGForums.Global.Database.Read(String strSql, Int32 Rows) +264
DMGForums.Global.Login.Page_Load(Object sender, EventArgs e) +1048
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +31
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +68
System.Web.UI.Control.OnLoad(EventArgs e) +88
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Control.LoadRecursive() +158
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3036


code in Source file is not changed but still i m getting this error
Thanks


  Copyright DMG Development DMG Forums 3.2