Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: ADO Connection Times Out on .Open


Message #1 by "Garth W. Morton" <garth@c...> on Tue, 28 Aug 2001 16:01:30
Hello All...

Err.Description: [Microsoft][ODBC SQL Server Driver]Timeout expired
Err.Number: -2147467259

I am having this problem on only one out of numerous installs of our 
application. It happens when I try to open my ADO Connection object (ie - 
adoCON.Open strCon - where strCon is a valid SQL Server connection 
string). The timeout happens almost immediatly. But... even weirder... 
this only happens in the EXE... the application also has a DLL that needs 
the same connection and uses the same connection string same ADO 
reference, etc... and it connects immediately and has no probs...

This is a VB 6 EXE (and DLL) connecting to MS SQL 7.

Any ideas anyone???

Cheers,

Garth.

  Return to Index