Page 1 of 1

Can not obtain Oracle client information from registry

Posted: Sun 08 Jan 2012 03:20
by dharric
Getting this error trying to run a query on an wcf data service that uses dotConnect for entity objects. Full exception is Can not obtain Oracle client information from registry. Make sure that Oracle Client Software is installed, or use Direct mode of connecting to server. We run win 7 64bit. And I have the latest oracle drivers installed and oracle sql developer is working fine and able to query our db.

Posted: Sun 08 Jan 2012 22:19
by GrMikeD
You have probably installed 32-bit Oracle drivers instead of 64-bit.

Posted: Mon 09 Jan 2012 11:42
by Shalex
GrMikeD, thank you for posting.

dharric, make sure that the mode (32- or 64-bit) of your web server coincides with the mode of your Oracle client.

Posted: Mon 09 Jan 2012 13:48
by dharric
I've installed the 64bit drivers, but from my research it appears that event those have a 32bit component. As for shalex's comment how do I go about confirming service is on 64 or 32 bit mode.

Posted: Fri 13 Jan 2012 16:15
by Shalex
Please check the mode (32- or 64-bit) of the process of the web server on which your WCF Service is deployed. You can find the mode of the processes via Windows Task Manager.