On my development computer I uninstalled oracle client 11.2.0.1 and installed 11.2.0.4. I did this without taking into account that my visual studio references the Oracle.DataAccess object with the old version. When I ran one of my projects I received:
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
It also gave me a version error as well, but I can't reproduce it.
I found many posts on how to correct this issue and as of now I'm still unable to get it to work. What I would like to know is how did uninstalling and reinstalling different oracle versions cause my issue? I thought I had it set to not be version specific. Doesn't Visual Studio store the dll that it references?
Would uninstalling my oracle client and clearing out an reference to oracle in the GAC and then reinstalling register the new versions in the GAC and then my visual studio application should work?
Thank you