View Single Post
  #1 (permalink)  
Old January 2nd, 2004, 05:10 PM
saulodet saulodet is offline
Authorized User
 
Join Date: Nov 2003
Location: , , Mexico.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Driver's SQLSetConnectAttr failed

Hi

I'm trying to connect to SyBase 12.5 using ODBC, in this case I need to use two connections and I have a string with this value:

    string myODBC = "DSN=myodbc;Uid=myuser;pwd=mypass"

And I use it, to establish both connections

When I connect for the first time there is no problem, but when I try the second time I get an exception:

[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed

What's wrong??
J.C.



Reply With Quote