>>
>>Is the timeout happening before or after you do the connection?
>>
>this is the statement:
>intHandle = SQLSTRINGCONNECT(strConnectionString)
>
>
>>ie does SQLStringConnect actually return a handle (should be greater than 0)?
>it returns -1 after the login dialog comes up
>which btw also does not connect
OK so it is failing to connect. I just wanted to make sure that was the case.
You are getting a login dialog? That indicates it doesn't like your credentials.
You had 2 connectionstrings shown in your original message. Are you using the one with trusted connection or the one with username/password?
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________