Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 29th, 2007, 07:05 AM
1983.yadav@gmail.com
Guest
 
Posts: n/a
Default System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failedwith E_FAIL(0x80004005)

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

  #2  
Old December 29th, 2007, 03:05 PM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed with E_FAIL(0x80004005)

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.

Quote:
>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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.