There could be a few different things at play here. In order to same some
time tracking them down, in either this project or a dummy one, drag an
Oracleconnection from the Data Tab of your toolbox. In the Properties Grid,
click on the ConnectionString property. When the configuration wizard comes
up, fill in the respective parts and at the end, select Test Connection. If
you can connect than the most likely problem is your connection string.
It's possible for instance that the account you are connecting from on the
web server, like the aspnet account have permissions whereas yours may not.
Or you could have typed something incorrectly in the username or passsword.
Anyway, if you can't connect from there, you may need updated data access
components or it's possible something is wrong with your install or that it
got corrupted and you may need to reinstall it. Before you go through any
of that though, check the easy stuff.
Let me know and we'll take it from there.
Bill
--
W.G. Ryan MVP Windows - Embedded
http://forums.devbuzz.com http://www.knowdotnet.com/dataaccess.html http://www.msmvps.com/williamryan/
"Raphaël ARBUZ" <ra**********@netcourrier.com> wrote in message
news:40**********************@nan-newsreader-04.noos.net...
Hi everybody
I have tried to create a Windows Application with an Oracle Connection to
a base, but each time the program comes to my line :
Connection1.Open();
it generates an exception.in 'system.data.oracleclient.dll' with for only
information : "system error"
The fact is when I do exactly the same in an asp.net webform, it works and
doesn't come to any exception !
Does someone has an idea of what to do ?
Thank you so much
Raphael