Has this worked before ? did you make any changes ?
Could you please post the exact error message ?
Also, could you please post the code you are using to connect to the database ?
Is working with only one machine. We have installed vs2003, Oracle.net, mdac 2.6 and oracle client 10g on fresh machine on windows XP ( sp2).
We have desktop application includes service which is running on Oracle server. Client desktop application is connected using app.config file, using remote connection with channel port number 8888 and singletonCall interface.
Please check the code,
using System.Configuration ;
public class Form_Login : System.Windows.Forms.Form
private OracleConnection objConnection = null;
private OracleCommand objCommand = null;
private void Form_Login_Load(object sender, System.EventArgs e)
objConnection = new OracleConnection();
objConnection.ConnectionString = “Password=amw001;User ID=amw001;Data Source=ORCL”
the exact error description :
<b>Error:Error in Form_Login_Load: The type initializer for “System.Data.OracleClient.OCI” threw an exception.</b>
We have also tried with simple application using the above code but same is also not working.
Thanks in advance.</pre>