"Type initializer for 'Oracle.DataAccess.Client.OracleDependency' threw an exception" in ODP.Net Unmanaged Driver
Last updated on MAY 26, 2017
Applies to:Oracle Data Provider for .NET - Version 220.127.116.11 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
Type initializer exception is thrown by the .NET application which makes use of ODP.NET Unmanaged driver to make database connection.
All the required dlls of ODP.NET Unmanaged driver are available and placed in the bin folder of the application.
The error message is as below :
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms