0

I am getting a System.BadImageFormatException exception when I try to connect to Oracle. This string worked 4 years ago, but now it is not. What am I doing wrong?

string conn = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hosturl)(PORT=1521))(CONNECT_DATA=(SID=DEV)));User Id=username; Password=password;";
tmsbrndz
  • 1,222
  • 2
  • 8
  • 20

0 Answers0