System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed

System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed

am 29.12.2007 09:00:05 von 1983.yadav

Hi All,

I m Pankaj, i ve a problem in accessing data from MS-Access Table. The
error is
System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed
with E_FAIL(0x80004005)
My query to fetch the data is -
Qry="select
ZONE,CIRCLE,DIVISION,LOCATION,LOCATIONDESCRIPTION,LOCATIONCO DE from
ML" and my connection string is-
ms_con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=d:\ml_testing.mdb;");

cmd = new OleDbCommand(qry, Log_file_Genration.ms_con);
OleDbDataReader ms_reader = cmd.ExecuteReader();
when i m excuting the raeder, i m getting the problem that i ve given
above.

Plz help me out from this problm as soon as possible.

with Regards...
Pankaj

Re: System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed with E_FAIL(0x80004005)

am 29.12.2007 17:03:22 von Tom van Stiphout

On Sat, 29 Dec 2007 00:00:05 -0800 (PST), 1983.yadav@gmail.com wrote:

The query looks good; the connectionstring looks suspicious. Check out
www.connectionstrings.com for examples.

-Tom.


>Hi All,
>
>I m Pankaj, i ve a problem in accessing data from MS-Access Table. The
>error is
>System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed
>with E_FAIL(0x80004005)
>My query to fetch the data is -
>Qry="select
>ZONE,CIRCLE,DIVISION,LOCATION,LOCATIONDESCRIPTION,LOCATIONC ODE from
>ML" and my connection string is-
>ms_con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
>Data Source=d:\ml_testing.mdb;");
>
>cmd = new OleDbCommand(qry, Log_file_Genration.ms_con);
> OleDbDataReader ms_reader = cmd.ExecuteReader();
>when i m excuting the raeder, i m getting the problem that i ve given
>above.
>
>Plz help me out from this problm as soon as possible.
>
>with Regards...
>Pankaj