0 Replies Latest reply: Aug 24, 2009 10:44 PM by 706819 RSS

    Oracle connection error in visual studio

    706819
      hi,

      im using oracle 10g express edition and visual studio 2008 and c# language... both my oracle client and server are on the same machine...

      I get oracle open connection error while running my application.
      Error says,

      EQBQcsharpVersionSolution.exe': Loaded 'C:\Windows\assembly\GAC\Oracle.DataAccess\10.2.0.100__89b483f429c47342\Oracle.DataAccess.dll', Binary was not built with debug information.
      'EQBQcsharpVersionSolution.exe': Loaded 'C:\XEClient\bin\OraOps10.dll'
      'EQBQcsharpVersionSolution.exe': Loaded 'C:\XEClient\bin\oci.dll', Binary was not built with debug information.
      'EQBQcsharpVersionSolution.exe': Loaded 'C:\Windows\System32\msvcr71.dll'
      'EQBQcsharpVersionSolution.exe': Loaded 'C:\XEClient\bin\oraocixe10.dll', Binary was not built with debug information.
      The thread 'Win32 Thread' (0xc4c) has exited with code 0 (0x0).
      Windows has triggered a breakpoint in EQBQcsharpVersionSolution.exe.

      This error occurs when i run my application and when the following statement is reached, it throws the error...

      string connString = "Data Source = localhost:1521/XE; user id = " + dbUserName + "; password = " + dbPwd + ";";
      try
      {
      oracleConn = new OracleConnection(connString);
      oracleConn.Open();
      }


      i cudnt figure out wat goes wrong... please some one help me to get this work......

      Edited by: user11267267 on Aug 24, 2009 8:43 PM