Usage Note 21040: Driver's SQLAllocHandle on SQL_HANDLE_ENV failed using SAS/ACCESS® Interface to ODBC to Oracle
The following error was returned when submitted by users who are not
administrators on the server, accessing an Oracle Server v10.2.0,
using the Oracle ODBC driver v10.02.00.01:
proc sql;
connect to odbc as mycon(datasrc=XXXX user=yyyyyy pwd-zzzz);
ERROR: CLI error trying to establish connection:[Microsoft]
[ODBC Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_ENV
failed
The error did not occur when submitted by users who are
administrators on the server.
But if an administrator ran the code to connect first,
the code then worked for the non-administrator users.
The customer applied a patch from Oracle to correct
the problem.
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to ODBC | Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
| Windows Vista | 9.1 TS1M3 SP4 | |
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | Third Party ==> Information Exchange ==> ODBC (Open Database Connectivity) SAS Reference ==> LIBNAME Engines
|
| Date Modified: | 2008-02-19 15:58:26 |
| Date Created: | 2007-09-28 11:30:04 |