ODAC Deployment Requires Runtime Components of Visual C++ Libraries

(Doc ID 1643352.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)


Application using ODP.NET fails with following exception:

When the registry ODP.NET -> -> TraceLebel is set to 1:
Exception occured: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.
Inner Exception: System.DllNotFoundException: Unable to load DLL 'OraOps11w.dll': This application has failed to
start because the application configuration is incorrect. Reinstalling the application may fix the problem. (Exception from HRESULT: 0x800736B1)
at Oracle.DataAccess.Client.OpsTrace.Trace(UInt32 level, String[] args)
at Oracle.DataAccess.Client.OpsTrace.Trace(UInt32 TraceLevel, String[] args)
at Oracle.DataAccess.Client.OpoErrResManager.GetErrorMesg(Int32 errorcode, String[] args)
at Oracle.DataAccess.Client.OracleError..ctor(Int32 errNumber, String dataSrc, String procedure, String errMsg)
at Oracle.DataAccess.Client.OracleException..ctor(Int32 errCode)
at Oracle.DataAccess.Client.OracleInit.Initialize()
at Oracle.DataAccess.Client.OracleConnection..cctor()


When the registry ODP.NET -> -> TraceLebel is set to 0:
System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.
---> Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client
at Oracle.DataAccess.Client.OracleInit.Initialize()
at Oracle.DataAccess.Client.OracleConnection..cctor()


And also following error can seen in Windows Event Log:

Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms