K
Kevin
I could definitely use some help with this error! My VB.NET 2003
program only connects to the database when the user saves, retrieves,
etc. If they retrieve a file from the database to work on, and the
network goes down for more than about ten seconds and comes back up,
the next time they try to save the program crashes on the first line
of code that talks to the db. Actually it gets as far as opening the
connection, but breaks on this line: objDataReader =
objCommand.ExecuteReader(CommandBehavior.CloseConnection) with this
error:
A first chance exception of type 'System.Data.SqlClient.SqlException'
occurred in system.data.dll
Additional information: System error.
The exception's error message is usually: General network error.
Check your network documentation.
I don't understand! It seems to me that if the network goes down and
comes back up while the program is running but not using the database,
then it should not cause any problems. Any ideas?
Thanks!
Kevin
program only connects to the database when the user saves, retrieves,
etc. If they retrieve a file from the database to work on, and the
network goes down for more than about ten seconds and comes back up,
the next time they try to save the program crashes on the first line
of code that talks to the db. Actually it gets as far as opening the
connection, but breaks on this line: objDataReader =
objCommand.ExecuteReader(CommandBehavior.CloseConnection) with this
error:
A first chance exception of type 'System.Data.SqlClient.SqlException'
occurred in system.data.dll
Additional information: System error.
The exception's error message is usually: General network error.
Check your network documentation.
I don't understand! It seems to me that if the network goes down and
comes back up while the program is running but not using the database,
then it should not cause any problems. Any ideas?
Thanks!
Kevin