SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 40900: "File is already locked by another user" when trying to build an OLAP cube

DetailsAboutRate It

When building an OLAP cube that has an open connection, you might receive an error message similar to the following:

ERROR: File is already locked by another user.
ERROR: The physical cube cannot be deleted. 

An open connection can be an active query against the OLAP cube, or it can be the result of an orphaned connection. Orphaned connections can occur when a client application (such as SAS® Web Report Studio or SAS® Web OLAP Viewer for Java) is improperly closed while a cube is being viewed. To prevent orphaned connections, always use the Log Off link to exit the application. Do not simply close the browser window.

To close an active session, use the SAS OLAP Server Monitor in SAS® Management Console. For instructions, see Managing OLAP Sessions and Queries.

If you are creating cubes in batch and are using SAS® 9.2, you can use the OLAPOPERATE Procedure to manage sessions before submitting the PROC OLAP code.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS OLAP Serverz/OS
OpenVMS VAX
Microsoft® Windows® for 64-Bit Itanium-based Systems
Microsoft Windows Server 2003 Datacenter 64-bit Edition
Microsoft Windows Server 2003 Enterprise 64-bit Edition
Microsoft Windows XP 64-bit Edition
Microsoft® Windows® for x64
OS/2
Microsoft Windows 95/98
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Professional
Microsoft Windows NT Workstation
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 for x64
Microsoft Windows Server 2008
Microsoft Windows Server 2008 for x64
Microsoft Windows XP Professional
Windows 7 Enterprise 32 bit
Windows 7 Enterprise x64
Windows 7 Home Premium 32 bit
Windows 7 Home Premium x64
Windows 7 Professional 32 bit
Windows 7 Professional x64
Windows 7 Ultimate 32 bit
Windows 7 Ultimate x64
Windows Millennium Edition (Me)
Windows Vista
Windows Vista for x64
64-bit Enabled AIX
64-bit Enabled HP-UX
64-bit Enabled Solaris
ABI+ for Intel Architecture
AIX
HP-UX
HP-UX IPF
IRIX
Linux
Linux for x64
Linux on Itanium
OpenVMS Alpha
OpenVMS on HP Integrity
Solaris
Solaris for x64
Tru64 UNIX
* 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.