Click here to Skip to main content
15,894,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I'm developing an application in C# that will connect to Oracle database.
I decided to use ODP.NET. I have installed the whole ODAC package and everything works great. But now, I want to run that application on other computer (without ODAC package installed, but with oracle client).

Is it necessary to install that package on every computer where i want to run my app?
Can I use ODP.NET without installing it ?
I added only Oracle.DataAccess.dll as a reference to my project.

Thanks for help,
Posted

1 solution

you have to include the following dependencies on your project and make sure you copy them to the output directory.

VB
oci.dll
ociw32.dll
Oracle.DataAccess.dll
orannzsbb11.dll
oraocci11.dll
oraociicus11.dll
OraOps11w.dll


Hope it helps
 
Share this answer
 
Comments
mnd017 16-May-12 5:53am    
Thanks for answer. But, from where I have to copy them? It is important?

And, do i have to add all of them into my resources (the same as Oracle.DataAccess.dll) ?
Comfizzy 16-May-12 5:59am    
These files comes with the ODAC package, check on the installation path. The Oracle.DataAccess.dll needs those files for it to work properly.
mnd017 16-May-12 6:09am    
ok, thank you very much again. But to make sure, I have to add to resources only Oracle.DataAccess.dll, rest of dlls just have to be in the same dirctory as exe file and Oracle.DataAccess.dll, right ? I will check that in a moment.
Comfizzy 16-May-12 6:11am    
That's correct, You can Mark the solution as an answer if it works.
mnd017 16-May-12 7:02am    
Yes, i know. But now, I have ODAC package installed, so I can't really determine whether it works or not. It works even when I delete all this seven dlls from bin directory. So i have to find computer with no ODAC package installed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900