Leech SitesLeech link generator

[Solved] Could not load file or assembly 'System.Data.OracleClient'


Error: Could not load file or assembly 'System.Data.OracleClient'

system.data.oracleclient
Solution 1
IIS: set "Enable 32-Bit Applications" to True

Solution 2
md C:\Windows\assembly\GAC_32\Oracle.DataAccess\4.112.2.0__89b483f429c47342\

copy %ORACLE_HOME%\odp.net\bin\4\Oracle.DataAccess.dll C:\Windows\assembly\GAC_32\Oracle.DataAccess\4.112.2.0__89b483f429c47342\

md C:\Windows\assembly\GAC_32\Oracle.Web\4.112.2.0__89b483f429c47342\

copy %ORACLE_HOME%\asp.net\bin\4\oracle.web.dll C:\Windows\assembly\GAC_32\Oracle.Web\4.112.2.0__89b483f429c47342\

More Details:
http://deepak-sharma.net/2013/09/30/fix-system-data-oracleclient-requires-oracle-client-software-version-8-1-7-or-greater-error-in-net/

http://devblog.rayonnant.net/2011/04/oracle-11g-r2-x64-client-with-odac.html

Could not load file or assembly System.Data.OracleClient

odp.net_asp.net

Solution 3

Solution 4
I ended up adding this to the section in web.config:








The connection string ended up looking like this:


If you reference the provider in an asp: SqlDataSource tag, be sure to reference it as:

ProviderName="Oracle.ManagedDataAccess"

Related Post

widgets by blogtips


Share your views...

0 Respones to "[Solved] Could not load file or assembly 'System.Data.OracleClient' "

Post a Comment

Vote, Comment, Email to [email protected]

 

© 2013 LEECH LINKs vs LEECH SITEs

This blog run on iThesis Theme