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,LOCATIONCODE 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
Tom van Stiphout - 29 Dec 2007 16:03 GMT
The query looks good; the connectionstring looks suspicious. Check out
www.connectionstrings.com for examples.
-Tom.
>Hi All,
>
[quoted text clipped - 18 lines]
>with Regards...
>Pankaj