Follow

Error: The type initializer for 'Oracle.DataAccess.Client. OracleConnectionStringBuilder' threw an exception.

Symptoms:

Testing the connection to a new Oracle data source results in an error message.  However, using an ADO.net Any Source or the local oracle client via TNS connection succeeds.

 

Error Message:

Connection Failed.  System error description:
The type initializer for 'Oracle.DataAccess.Client.OracleConnectionStringBuilder' threw an exception.

 

Underlying problem:

There may be a conflict between Oracle Native Client and Oracle Data Provider.

 

Solution:

Remove the Oracle Native Client and install only the Oracle Data Provider according to the instructions provided here.

Return to Oracle Troubleshooting Hub

Author: Doug Wynkoop

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.