OdbcConnection issue on 64 bit machine RRS feed

  • Question

  • Hi,

    I need to access ODBC 32 bit User DSN on a 64 bit build of a .net application. I am using OdbcConnection but it always finds the 64bit version of UserDSN and i get system error 193.

    Is there any way i can let OdbcConnection know that it should access the 32bit User DSN.



    Saurabh Ramya

    Thursday, May 26, 2016 1:50 PM


  • You can't load a 32-bit ODBC driver from 64-bit app. You would either need a 64-bit version of the ODBC driver or change your application Platform to x86 in order to support the 32-bit version.

    Paul ~~~~ Microsoft MVP (Visual Basic)

    Thursday, May 26, 2016 2:05 PM