WPF- OleDbConnection to oracle 11g RRS feed

  • Question

  • Hi,

    i have a really strange problem to get connected to Oracle (11g) using VisualStudio2010

    #1) a Winforms application creates an OleDBCOnnection using an .udl File as connection string. Connection.Open() works perfectly without any problem.
    #2) a WPF application creates an OleDBCOnnection using the same .udl File ('test connection' is working). Connection.Open() raises an exception "OraOLEDB.Oracle.1 Provider is not registered on the local machine".

    Any ideas?  

    Wednesday, September 14, 2011 8:47 AM


  • ...solved:

    The WPF-solution was not compiled as 'AnyCPU'. By default it has been set to x86.
    • Marked as answer by dmaic.andreas Wednesday, September 14, 2011 8:56 AM
    Wednesday, September 14, 2011 8:55 AM