This content has been marked as final. Show 3 replies
It sounds as if you're trying to run the app on a machine that has a lower version of ODP than what the app was compiled with, and that doesn't work. You need to have >= the version you compiled with on the deployment machine.
With respect to just copying your 10205 Oracle.DataAccess.dll over, there's more to it than that. You'll also need 10205 oraops10.dll. Additionally, it's not supported to run 10205 odp on 10201 client even if you copy over oraops10.dll as well and get it to work.
Patching the 10201 client on the deployment target to 10205 should resolve this issue for you, and you do that by applying the 10205 database patch to the client machine.
Also, remove Oracle.DataAccess.dll from the exe folder on the server, so the dll gets picked up out of the GAC instead.
Hope it helps,
Thanks - I will give it a try - I thought it was something along those lines - however surprising to me that is is not compatible since they are in the same major release. Also - I'm confused about the Version nomenclature - On my client is show ODP.NET 18.104.22.168 and on my server Oracle.DataAccess.dll (v 10.1.0.200) . How does 22.214.171.124 translate to 10205 and v 10.1.0.200 translate to 10201 ? Also - when I looked on the for a distribution package 10201 ODP.NET (I was thinking I could install this on my client and use this as my reference) I could not find any such download.
Ack, I read 10.1.0.200 to be 10.2.0.100. My bad there. 10.1? really? :)
Anyway, the versioning scheme changed in 10.2.0.2.20: http://docs.oracle.com/html/E10927_01/InstallVersioningScheme.htm
10102 ODP comes in the 10.1.0.1 client installl, but given that that version is no longer supported, it's no longer available for download.
Really the best solution here is to upgrade the deployment target to a supported version of software, rather than finding an old version to compile with.
HOWEVER, if you really want to compile with that old version, just copy it from the deployment machine and use that as a reference in your VS project. You won't be able to actually run it on your machine since you don't have 10.1 version of the rest of the stuff, but it should at least compile. At that point though, you'd be at the mercy of moving the app to the deployment machine and "hope it work", or at least do testing by fire on that machine.
Hope it helps,