bebandit
Apr 4th, 2005, 02:03 PM
I have a asp.net that uses an access 2003 database. I get this strange event where the page will work for 10 or so times and then I get this:
Line 144:
Line 145:
Line 146: myConnection.Open()
Line 147:
Line 148: 'Create an OleDbCommand object.
Source File: C:\Components\ProductsDB.vb Line: 146
Stack Trace:
[OleDbException (0x80004005): Unspecified error]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
System.Data.OleDb.OleDbConnection.InitializeProvider()
System.Data.OleDb.OleDbConnection.Open()
IBuySpy.IBuySpy.ProductsDB.GetMainCategories() in C:\Documents and Settings\Administrator\Desktop\Components\ProductsDB.vb:146
IBuySpy.C_Menu2.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\Desktop\_Menu2.ascx.vb:57
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
What is so strange is that it works for a while and then just cuts out.
The error message (what line the error is on) changes but it always happens
when it is going to open a connection to the database. I've checked to make
sure that all connections were closed before I opened another. Any Ideas?
Line 144:
Line 145:
Line 146: myConnection.Open()
Line 147:
Line 148: 'Create an OleDbCommand object.
Source File: C:\Components\ProductsDB.vb Line: 146
Stack Trace:
[OleDbException (0x80004005): Unspecified error]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
System.Data.OleDb.OleDbConnection.InitializeProvider()
System.Data.OleDb.OleDbConnection.Open()
IBuySpy.IBuySpy.ProductsDB.GetMainCategories() in C:\Documents and Settings\Administrator\Desktop\Components\ProductsDB.vb:146
IBuySpy.C_Menu2.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\Desktop\_Menu2.ascx.vb:57
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
What is so strange is that it works for a while and then just cuts out.
The error message (what line the error is on) changes but it always happens
when it is going to open a connection to the database. I've checked to make
sure that all connections were closed before I opened another. Any Ideas?