title: System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception
body: <p>I am developing Windows application in asp.net with C# and Oracle as database. Here initially the application's some modules were made using entity framework, so am trying to replace the entity framework code to simply call stored procedure.</p>
  
  <p>So I did that the application works fine on server but when application is run on client machine then it gives below error.</p>
  
  <p><a href="https://i.stack.imgur.com/167GJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/167GJ.png" alt="enter image description here"></a></p>