This content has been marked as final. Show 2 replies
It'd be helpful to know what the exception being thrown is (would be the InnerException of the one you're catching), but it's most likely a problem with the bit-ness of the application. If the compiler is set to AnyCPU (and it is by default), on the 64 bit machine you'll need a 64 bit version of the Oracle client. If you set it to x86, then you'll need a 32 bit Oracle client on all the machines (including the 64 bit ones).
Just registering a DLL won't be enough to solve this unless you're using the managed client beta, in which case you could do that or add the necessary entries into the app config file (and not have to register anything).
Thanks! That was indeed the problem. I will have to work out details moving forward. For now, I installed the 32 bit Oracle client on the 64 bit machine and everything started working.