SQLSetConnectOption() fails under stressfor {SQL Native Client} dr -
06-01-2010
, 02:43 AM
My application server is using {SQL Server} driver (sqlsrv32) for several
years and I am doing compatibity testing with {SQL Native Client} driver
(sqlncli) .
So the existing code and call to ODBC API works fine when I connect using
driver (sqlncli). However in stress condition (Many users/threads connecting)
the call to SQLSetConnectOption() API returns SQL_ERROR .And to obtain
SQL_STATE and exetended error information SQLError() returns
SQL_NO_DATA_FOUND.
However this issue never happens with driver (sqlsrv32).Any input in this
regard will be of great help.
Thanks.
Ghanashyam |