Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ODP.NET4, "The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception."

User_EYM5GSep 30 2013 — edited Oct 3 2013

Hi,

I created a VS2010 VB.NET project x86 compiled.

I use ODP.NET4 for the OracleConnection. For the first time, when I try to run my application on a Windows XP machine, I get this error:

"The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.

Stack Trace:

   in Oracle.DataAccess.Client.OracleConnection.Dispose(Boolean disposing)

   in System.ComponentModel.Component.Finalize()"

The machine has the Oracle Client 11g installed and also the ODP.NET4 correctly installed as the ODAC instructions say.

I never ran into this problem, my application has always worked on other machine, I tried everything i could or i read on the web but nothing worked...

Could someone help me?

Thanks

G.

This post has been answered by Alex Keh-Oracle on Oct 2 2013
Jump to Answer

Comments

It's a bug.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 31 2013
Added on Sep 30 2013
6 comments
9,178 views