Loading

Error "Driver's SQLAllocHandle on SQL_HANDLE_ENV failed" When Connecting to DB2

Publiseringsdato: Feb 23, 2026
Beskrivelse

When connecting to IBM DB2, the following error may occur:

[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

Løsning

The following options can be used to work around the issue:

Option 1 - Run Tableau Desktop as administrator

  1. Close all instances of Tableau Desktop.
  2. Right-click the Tableau Desktop icon and select Run as administrator.

Option 2 - Install the IBM DB2 driver provided on the Tableau Driver Download page.

Option 3 - Add the userid used to run Tableau Desktop to either the DB2ADMNS or DB2USERS group. For more information see the IBM Help Documentation.

 

Knowledge-artikkelnummer

001471591

 
Laster
Salesforce Help | Article