We have a new community! Please visit support.timextender.com
Follow

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

Note:  This is an old article.  However, the troubleshooting tips may still apply to newer versions. 

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

0 Comments

Please sign in to leave a comment.