Usage Note 36630: The SAS® Stored Process error, "Error trying to establish connection", occurs when trying to access a library
When running a SAS Stored Process that accesses a library, you
will receive an error message if the SAS General Servers login account does not have permission to access the library.
The SAS Stored Process Server runs under the SAS General Servers login account (which is sassrv by default).
For example, the sassrv account tries to access the SQLMET library in the following LIBNAME statement:
LIBNAME SQLMET META LIBRARY="NTSQL";
If the sassrv account does not have permission, you might receive error messages such as the following in the stored process server log file:
ERROR: Error trying to establish connection: SAVE
ERROR: Error in the LIBNAME statement.
If you receive this error message, check to make sure that the
sassrv user account can access the library.
Operating System and Release Information
| SAS System | SAS Integration Technologies | z/OS | 9.1 TS1M3 SP4 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
| 64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
| HP-UX IPF | 9.1 TS1M3 SP4 | |
| Linux | 9.1 TS1M3 SP4 | |
| Linux on Itanium | 9.1 TS1M3 SP4 | |
| OpenVMS Alpha | 9.1 TS1M3 SP4 | |
| Solaris for x64 | 9.1 TS1M3 SP4 | |
| Tru64 UNIX | 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.
When running a stored process that accesses a library, you will receive an error message if the SAS General Server account (which is "sassrv" by default) does not have permission to access the library.
| Date Modified: | 2010-05-26 11:15:17 |
| Date Created: | 2009-07-27 12:21:10 |