I have an application developed in VB.NET 2010 and it connects to Oracle database using Oracle Data Provide for .Net. This application runs without any errors on my development PC but when I installed this on different computer i get this error
The type initializer for oracle.dataaccess.client.oracleconnection threw an exception
I assume this is due to some missing dependencies, What other softwares do i need to install to get this running?
Install Oracle Data Access Components (ODAC)
ODAC was already installed but 32-bit version instead of the 64-bit i was using on my dev machine.. i installed the 64 bit and it solved the problem