Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am tring to open connection using below code
OracleConnection con = new OracleConnection(ConString);
               con.Open();

and Oracle 11 G client already installed on my machine but still its giving above error.
Is oracle is not backword compatible.
Is any one one have any solution for this.What to do exactly.
Posted

1 solution

Some suggestions:

1 Can you find the missing DLL on your HDD?
Note the directory you found the file.

2 If found, is this DLL in a recognized path?
2.a Open a cmd window and type path and press enter. It will show all paths added to the environment string.
2.b Check if your directory is included in this string.


3 32 or 64 bit
3.a Check if the DLL is for 32 or 64 bit.
3.b Are you running the code as 32 bit or 64 bit?
A mismatch here will cause this problem.


4. If the DLL is found, use http://dependencywalker.com/[^]
It is a good tool for finding missing dependencies.
Maybe it is a another DLL that is missing.
You will also see if it is a 32 or 64 bit DLL with this tool.

That is all I can think of on top of my head.
 
Share this answer
 
v2
Comments
CHill60 30-Jun-14 7:46am    
It's usually your points under 3. above - Using 64-bit regsvr32 instead of 32-bit :-)

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