I'm developing a winforms application with oracle database.
Everything worked fine until I had to reinstall oracle 11g. I was able to connect to the database and run my application.
Now I'm receiving the following error:
The procedure entry point ons_subscriber_cancelcallback could not be located in the dynamic link library oraons.dll.
I also have a 12c version installed for another application. My environment variable path is like this:
C:\Oracle\11g\product\11.2.0\client_1;C:\Oracle\11g\product\11.2.0\client_1\bin;C:\Oracle\12c\product\12.1.0\client_1;C:\Oracle\12c\product\12.1.0\client_1\bin;
In my project I'm using the Oracle.DataAccess.dll
version 4.112.3.0 that I copied to the folder that contain my .exe file.
The new oracle installation does not have this dll file in the odp.net
folder. Could this be the problem? I'm confused about this, because in my project I referenced the dll file inside the project folder that contains the .exe file. So, from my understanding, I believe that is ok.
But right now, I'm lost. I already read tons of forums/blogs saying that the path might be wrong or the Oracle.DataAccess.dll
reference, but mine is ok.
Can anyone assist me with this problem, please?