SQLState=IM004 [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_Handle_ENV failed when ORACLE_HOME is set to wrong home (Doc ID 1475856.1)

Last updated on JULY 05, 2017

Applies to:

Oracle ODBC Driver - Version 11.1.0.6 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
***Checked for relevance on 04-Dec-2017***

Symptoms

 Attempting to configure a DSN results in the following error when ORACLE_HOME environment variable points to an ORACLE HOME other than the one the driver is installed into:

   SQLState=IM004 [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_Handle_ENV failed

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms