Click here to Skip to main content
16,017,261 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
we are developing WCF service where we use oracle.clinet to cnnect the db and it happens through code on local host where as when we publish the service we the error System.Data.OracleClient requires Oracle client software version 8.1.7 or greater’. we are clue less what has gone wrong

What I have tried:

we have uinstalled and reinstalled te client, complied and bulid the application using target CPU as X86,Any CPU. tried changing the frame work to 4.5
Posted
Updated 7-Feb-18 17:12pm
Comments
PIEBALDconsult 7-Feb-18 22:39pm    
"This types in System.Data.OracleClient are deprecated and will be removed in a future version of the .NET Framework."
-- https://msdn.microsoft.com/en-us/library/system.data.oracleclient(v=vs.110).aspx

1 solution

The error message is pretty obvious. You have to have Oracle Client 8.1.7 or greater installed in order to use the classes in the System.Data.OracleClient namespace.

But, since that stuff is deprecated, you would be better off installing and rewriting the code to use one of the ODP.NET library[^], which itself will require an installation of the Oracle Client.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900