ODBC DSN Creation Fails With 'SQLAllocHandle on SQL_HANDLE_ENV failed (0)' (Doc ID 557978.1)

Last updated on JULY 22, 2017

Applies to:

Oracle ODBC Driver - Version 8.1.7.0.0 to 11.1.0.6.9
Microsoft Windows (32-bit)

***Checked for relevance on 22-Jul-2017***

Symptoms

When trying to create a DSN using the Oracle ODBC driver results in the error:

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

Changes

Recently installed an Oracle Product into a second Oracle Home which added a new path to the system PATH environment variable.

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