This content has been marked as final. Show 1 reply
You're "losing" the older version (126.96.36.199) because the installer for 11.2.03 installs policy binding redirects into the GAC that direct .net to load the newer version instead. If you want to use the older version with the newer version installed, you'll need to remove those policies. You can do that using gacutil.
Alternately if you only want to disable it for a given application, you can put an entry in your config file as described here: http://stackoverflow.com/questions/10700669/why-does-my-application-always-uses-the-latest-gac-version-instead-of-referenced
All that being said, when we did this at my work, we didn't keep both versions. We just removed the old one and put the new one on, only having one version on the server. We did that because in the past we had upward of four versions at one time installed and it turned into a total nightmare of "something altered the path, an app just broke" type insanity that was horrible to try and troubleshoot. What we did to prepare for that was just load every app on a test server and run it without recompiling, letting the policies pick up the new Oracle client version automatically. Between 11.1 and 11.2 this worked really well. We had a couple of issues for things built against 10, but a recompile with the new reference fixed them. We currently have everything running on 188.8.131.52 and it's a lot less complicated that way. (Only exception is some stuff we're testing with the managed client beta, which is awesome.)