Connection to Microsoft SQL Server 2000 
Author Message
 Connection to Microsoft SQL Server 2000

Hi All

I'm using  Visual Basic 6.0, MDAC 2.6  ADO and SQL Server 2000.
I'm writing a Programm that run's 24 Hours. It makes a Connection
to the SQL Server and make some SQL Work. Now there is a Problem.
The Programm is working several hours and now the SQL Server will be
shut-down. How can i find out if the Connection to the SQL Server is
still alive ?

If i try with cn.state i get a Error and the Error number :
cn.errors.NativeError can 595 or 4 and sometimes other values

Do you know a good way to get the Information if the SQL Server
Connection is still alive ?

Best Regards
Paolo Taverna



Sun, 28 Sep 2003 15:26:37 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Need Connection string for VB6 DAO DSN-LESS Connections to SQL Server 2000

2. Need Connection string for VB6 DAO DSN-LESS Connections to SQL Server 2000

3. adding a user DSN connection to MS SQL server 2000 using AD GPO logon scripts

4. OLEDB connection to SQL Server 2000 fails - 20599 error

5. Windows XP dropping connection to SQL Server 2000

6. Upgrading connection to SQL Server 2000 from vb6

7. Upgrading connection to SQL Server 2000 from vb6

8. VB6 application using SQL Server 2000 migrating db to SQL Server 2

9. No Microsoft Transaction Server Type Library in Windows 2000 Advanced Server

10. 0 [Microsoft][ODBC SQL Server Driver] Connection is busy with results for another hstmt

11. 0 [Microsoft][ODBC SQL Server Driver] Connection is busy with results for another hstmt

12. VB Sql Server Via ADO Problem: [Microsoft][ODBC Sql Server Driver]

 

 
Powered by phpBB® Forum Software