SqlCnx.Open() no error when MSSQLServer db engine stopped

  • Thread starter Thread starter Tom Moortgat
  • Start date Start date
T

Tom Moortgat

Hi,
My VB.Net application doesn't receive a catch error when
the MS SQL Server 2000 database engine is suddenly
stopped.
In stead the sqlcnx.Open() command results in a 'open'
state although the database is not available. The program
continues on the next line in stead of going to
the 'catch ex as SQL Exception' .

What can I do?
 
* "Tom Moortgat said:
My VB.Net application doesn't receive a catch error when
the MS SQL Server 2000 database engine is suddenly
stopped.
In stead the sqlcnx.Open() command results in a 'open'
state although the database is not available. The program
continues on the next line in stead of going to
the 'catch ex as SQL Exception' .

What can I do?

.... ask in a more appropriate group:

<URL:
Web interface:

<URL:http://msdn.microsoft.com/newsgroups/?dg=microsoft.public.dotnet.framework.adonet>
 
Hi Tom,

Do you have after that SQL exception also a general exception?

....
Catch ex as SqlExecption
....
Catch ex as Exception
....
End Try

Cor
 
Back
Top