all groups > sql server odbc > august 2003 >
You're in the

sql server odbc

group:

"Syntax error or access violation" with new (July 22 2003) driver


"Syntax error or access violation" with new (July 22 2003) driver faustino Dina
8/26/2003 9:37:50 AM
sql server odbc: Hi,

I'm having troubles with the SQL Server ODBC driver 2000.81.9001.40 dated on
July 22 2003. It is incompatible with our custom application developed with
Centura SQLWindows/32 Version 1.5.1-PFT2. When running some queries, the
error message reported by the driver is

Error No: 20035
Error Text: [Microsoft][ODBC SQL Server Driver]Syntax error or access
violation

The only suspicious fact is that the command is broken by a CR-LF (new line)
combination. This code had worked for years without any problem, sending
such broken line commands

The SQL command sent is:
{call spEjeSelectRem ('vCtePedTem_ChecaPoliticas
20,20,159,1,935502,17700024,1200148,null,
1')}
Note there is a new-line sequence behind the last parameter

My questions are:
Can It be the cause of the above mentioned error?
Wat can I do, install the previous version?
The ODBC driver is dated July 22 2003. It was automatically downloaded by
Microsoft Automatic Update. How can I protect specifically from ODBC driver
version updates?

Thanks in advance
Faustino

Re: "Syntax error or access violation" with new (July 22 2003) driver faustino Dina
8/28/2003 9:16:35 AM
Ok,
I did the following:
-"Uninstall" MDAC by
dasetup.exe /u
(actually the uninstall procedure didn't work, but at least it leave the
ODBC in such inconsistent state that I could install a previous version)
-Installed the MDAC v.2.7 that I had before the bug appeared. The bug didn't
appear again.
However yesterday the Microsoft Update suggested to install the security
patch 823718 related to MDAC. I crossed my fingers and applied it. No
problem. SQL Server driver is now 2000.81.9041.40 and the bug didn't show
again.
Hope this helps somebody

Faustino

[quoted text, click to view]

AddThis Social Bookmark Button