Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have build and published application on my local machine using oracle 10 G and vs2010 (asp.net/C#) everything works fine but I copied same code to web server its not working. web server have oracle 11G and vs2010. 

1 - I got error "File or assembly name Oracle.DataAccess", or one of its dependency was not found' then I added Oracle.DataAcces.dll in bin folder and I did build/publish and copied on web server and now I am getting this error "Unable to load DLL 'OraOps10.dll".

Could you please suggest how can I make application which works on both10G or 11G.

Thanks.
Posted

1 solution

There is some support for Oracle in the .Net framework, but that is considered outdated. So you built your apllication with an SDK from Oracle (I do not know its exact name, Oracle connector for .Net or something like this), which you installed locally on your machine. Of course that SDK is required on the web server too. Install it there.
 
Share this answer
 

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