My Oracle Support Banner

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

Last updated on MARCH 26, 2019

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 26-Mar-2019 ***

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.