I am getting the exception "An exception was thrown by the type initializer for Bid" trying to connect from a C#.NET application under Mono to an Oracle Database using the System.Data.Oracleclient.
The exception is thrown trying to set the connection string. The same connection string works fine running the application under Windows.
Below is my connection string:
User ID=TELT;Password=telt;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.4.58)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TEST)))