Consultor Eletrônico



Kbase 19836: Error S1090 Seen When Connecting to DB2 on Windows NT
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   07/03/2003
Status: Unverified

FACT(s) (Environment):

Windows NT
IBM DB2 Database
ODBC DataServer 9.x

SYMPTOM(s):

Error when using the IBM ODBC driver

S1090: [Microsoft][ODBC Driver Manager]Invalid string or buffer length
S1090: [Microsoft][ODBC Driver Manager]Function sequence error

CAUSE:

In the data-owning region (DOR) for DB2 on NT, asynchronous mode is enabled within the IBM DB2 ODBC driver.

FIX:

To disable asynchronous mode, add the following parameter to the DB2 connection parameters: -Dsrv ASYNC_ENABLE,0