Loading

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

Дата публикации: Feb 23, 2026
Описание

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

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

Решение

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.

 

Дополнительные ресурсы

Adding userid to DB2ADMNS or DB2USERS groups

Номер статьи базы знаний

001471591

 
Загрузка
Salesforce Help | Article