System.InvalidOperationException: ExecuteReader

G

Guest

OK, i will try this, but in a webpage, because the Pc that don't work the
program, doesn't have installed visual studio .net

Thanks
 
G

Guest

Hello Cor, I have tried to show the information in the "catch" block, and i
get this:
Exception: System.Data.OleDB.OleDBException:No error information available:
0x800401F9
at System.data.oledb.oledbconnection.ProcessResults(Int32 hr)
at System.data.oledb.oledbconnection.CreateProviderError(Int32 hr)
at System.data.oledb.oledbconnection.CreateProvider(OleDbConnectionString
constr)
at System.Data.oledb.oldebdconnection.open()
at...
 
C

Cor Ligthert

Negri,

We are probably all blind.

The creation of a connection will normally never thrown an error how many
Try blocks you set around it. It only places that string in the property
oledb.connectionstring.

The connection is actually executed in the open.

What I would do in your place is checking again your connection string.

I hope this helps,

Cor.
 
G

Guest

Hi Cor, i have tried to change connection string, but i don't get anything.
I'm going to open a new post, with the error, to try luck.
Thanks for everything.
 

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

Top