Re: System.Data.OleDb.OleDbException
Ken wrote:
> Do you have any idea why I got this error?
> ==================================
> myConnection.Open()
>
> {System.Data.OleDb.OleDbException}
>
> System.Runtime.InteropServices.ExternalException:
> {System.Data.OleDb.OleDbException}
>
> ErrorCode: -2147467259
>
> Errors: {System.Data.OleDb.OleDbErrorCollection}
>
> Message: "Unspecified error"
>
> message: "Unspecified error"
>
> oledbErrors: {System.Data.OleDb.OleDbErrorCollection}
>
> Source: "Microsoft JET Database Engine"
>
> source: "Microsoft JET Database Engine"
>
Hard to say with so very little of your code, and no information at all
about when, where and how the error occurs.
Here are some guesses:
You are trying to open a database that doesn't exist (wrong path).
You don't close your database connections properly, so you have run out
of available connections, which stops the database from accepting more
connections until one of the existing times out.
--
Gran Andersson
_____
http://www.guffa.com
Date:Sat, 11 Aug 2007 03:48:09 +0200
Author:
|