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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top