System.Data.OleDb.OleDbException

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

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"
 
Ken said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top