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"

Re: System.Data.OleDb.OleDbException by guffa

guffa
Fri Aug 10 20:48:09 CDT 2007

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.

--
Göran Andersson
_____
http://www.guffa.com