By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 2,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failedwith E_FAIL(0x80004005)

P: n/a
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
Dec 29 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Sat, 29 Dec 2007 00:00:05 -0800 (PST), 19********@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 ,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
Dec 29 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.