My Oracle Support Banner

Unable To Connect By Remote Desktop with ODBC Application IM-004 (Doc ID 361325.1)

Last updated on JUNE 22, 2017

Applies to:

Oracle ODBC Driver - Version to
Microsoft Windows (32-bit)
***Checked for relevance on 22-Jun-2017***


Trying to log in to an ODBC application from a remote desktop a user gets the following error:

"Unable to connect SQLState=IM004 [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed"

This works if the user logs in locally to the server. This also works if the users are granted administrative privilege.


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

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