P
phil
We have a small website using Visual basic and ASP.NET. We hold a database
in Access format which is opened with the following 3 lines
Dim m_dataBase As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=C:\callidusWorld\app_data\webAccess.mdb"
Dim myConn As New OleDbConnection(m_dataBase)
myConn.Open()
most of the time this works as expected but every now and then it seems
unable to open the database and throws an exception.
Any subsequent call continues to raises the same exception and the only
remedy so far is to reboot the server which is far from elegent.
I cannot change to another database and never had this problem with ASP - if
any one has any ideas I would be very grateful.
Many thanks in advance
Phil
The rather unhelpful message from ASP.NET is that it's an unspecified error
Unspecified error
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Unspecified error
in Access format which is opened with the following 3 lines
Dim m_dataBase As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=C:\callidusWorld\app_data\webAccess.mdb"
Dim myConn As New OleDbConnection(m_dataBase)
myConn.Open()
most of the time this works as expected but every now and then it seems
unable to open the database and throws an exception.
Any subsequent call continues to raises the same exception and the only
remedy so far is to reboot the server which is far from elegent.
I cannot change to another database and never had this problem with ASP - if
any one has any ideas I would be very grateful.
Many thanks in advance
Phil
The rather unhelpful message from ASP.NET is that it's an unspecified error
Unspecified error
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Unspecified error