SQLConnect fails, IM006

SQLConnect fails, IM006

Post by Steve Cockayn » Sat, 21 Apr 2001 06:56:18



Hi All.

I have a C++ application using ODBC (3.0) to open a text (CSV) file. My OS
is
Win2K professional.  The ODBC control panel says the text driver
is version 4.00.5303.01

On to the fun stuff!

Our QA lab has been able to produce (under heavy load) a case where calling
SQLConnect() returns
SQL_ERROR, and processing the message stack using SQLGetDiagRec().
gives me:

ODBC Library Error: 08004, -1036 [Microsoft][ODBC Text Driver] Too many
client tasks.
ODBC Library Error: IM006, 0 [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed.

Does anyone know what this really means? SQL BOL and the Microsoft KB have
left
me scratching my head....

Cheers,

Steve.

 
 
 

1. SQLConnect fails, IM006

Hi All.

Sorry for the re-post from the odbc newsgroup, but I didn't get a response
there - hoping to get one here.

I have a C++ application using ODBC (3.0) to open a text (CSV) file. My OS
is Win2K professional.  The ODBC control panel says the text driver
is version 4.00.5303.01

On to the fun stuff!

Our QA lab has been able to produce (under heavy load) a case where calling
S QLConnect() returns SQL_ERROR, and processing the message stack
using SQLGetDiagRec() gives me:

ODBC Library Error: 08004, -1036 [Microsoft][ODBC Text Driver] Too many
client tasks.

ODBC Library Error: IM006, 0 [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed.

Does anyone know what this really means? SQL BOL and the Microsoft KB have
left me scratching my head ....

Cheers,

Steve.

2. Need help with JDBC and creating dynamic HTML

3. IM006: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed

4. Indexes on Audit tables?

5. ODBC Error: 0, Driver's SQLSetConnectAttr failed [SQLSTATE IM006]

6. Access 7.0 and Delphi 2.0 Client/Server

7. Installing app using ODBC driver on machines

8. SQLConnect:NetConnectToServer failed

9. SQLConnect failed for unicode DSN

10. SQLConnect:NetConnectToServer failed

11. SQLConnect fails from the thread function.

12. SQL Server Agent: SQLSTATE IM006