My Oracle Support Banner

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 to
Microsoft Windows (32-bit)

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


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)


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


To view full details, 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 a vibrant support community of peers and Oracle experts.