Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to reference oracle.dataaccess. inside an assembly created using .net?

784493Jul 12 2010 — edited Jul 13 2010
Hi,
Just recently created a class and compiled it into an assembly... this assembly has a reference to oracle.dataaccess.dll... Then I created windows service that will call that assembly and pass the oracle connectionstring to it, then inside the assembly it will/should open the oracle database connection. but when it tried to open the database connection it failed... this only happens in the PROD server and not on the Dev server.

The windows service.exe, the assembly and oracle.dataaccess.dll are all in the same folder already...

it seems that the oracle.dataaccess.dll was not reference properly on prod server ( not really sure). Is there something I should do before I compile the class into an assembly so that the oracle.dataaccess is packaged with it? Dont really know what to do... hope someone could help me...

Thanks in advance!!!

Edited by: user13387249 on Jul 12, 2010 8:05 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2010
Added on Jul 12 2010
2 comments
1,081 views