My Oracle Support Banner

TROUBLESHOOTING: Explanation of System.TypeInitializationException Running an ODP.NET Application (Doc ID 1161733.1)

Last updated on JANUARY 29, 2019

Applies to:

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

***Checked for relevance on 30-Jan-2019***


Trying to run a .NET application that uses the Oracle Data Provider for .NET may result in the following error:

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()



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.