I am trying to create a generic Web service in SharePoint solution to connect any version of oracle, with simple Select, Insert, Delete and Update. The WSP should be deployed in SharePoint 2010.
As per my requirement I should not install any oracle client for connecting oracle so I am using Oracle.DataAccess
dll.
I get the following issue while building the solution, may be because SharePoint 2010 support upto Framework 3.5.
The primary reference "Oracle.DataAccess, Version=2.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=AMD64" could not be resolved because it was built against the ".NETFramework,Version=v4.0" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v3.5". OracleWebService2010.
I am stuck with this issue can anyone help me with this. Thank You in advance.