title: C# ODBC Driver's SQLSetConnectAttr failed
body: <p>I'm trying to connect to an Access 2007 database (.accdb) with a .net console application. I setup a System DSN in ODBC Manager. 
  This is how I'm setting up the connection:</p>
  
  <pre><code>conn = new OdbcConnection();
  conn.ConnectionString = "DSN=HU-FU";
  conn.Open();
  </code></pre>
  
  <p>On my development machine it works perfectly, but today I tried to install it on a client machine and I'm getting the following error: </p>
  
  <pre><code>ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
  </code></pre>
  
  <p>Anyone has an idea what could be the problem? </p>
  
  <hr>
  
  <p>Here is the ODBC trace source:</p>
  
  <pre><code>UPSShipmentServ 1454-6f0 ENTER SQLDriverConnectW 
    HDBC                0x00424070
    HWND                0x00000000
    WCHAR *             0x69938B34 [      -3] "******\ 0"
    SWORD                       -3 
    WCHAR *             0x69938B34 
    SWORD                       -3 
    SWORD *             0x00000000
    UWORD                        0 &lt;SQL_DRIVER_NOPROMPT&gt;
  
  UPSShipmentServ 1454-6f0 EXIT  SQLDriverConnectW  with return code -1 (SQL_ERROR)
    HDBC                0x00424070
    HWND                0x00000000
    WCHAR *             0x69938B34 [      -3] "******\ 0"
    SWORD                       -3 
    WCHAR *             0x69938B34 
    SWORD                       -3 
    SWORD *             0x00000000
    UWORD                        0 &lt;SQL_DRIVER_NOPROMPT&gt;
  
  DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
  </code></pre>
  
  <p>UPSShipmentServ is the name of my app. But this sadly does not mean anything to me...</p>
  
  <hr>
  
  <p>One more addition to the question. I checked the Access driver's (ACEODBC.DLL) version on both machines and mine is much newer than the client's. Could it be the problem? Is there any way to update his driver? </p>
  
  <p>Thanks. </p>