When the SAS Web Report Studio query cache is in use, you might see an error similar to the following when you attempt to view a report:
If this error is occurring after a period of working successfully, then the first step is to restart your object spawner to see whether that resolves the issue.
If restarting the object spawner does not resolve the issue, then this KB article explains the two most common causes of this error.
One of the properties for a library is a server assignment. If the data library and the WRSTEMP library are not assigned to the same server, then you see the "Libref WRSTEMP is not assigned" error. To resolve this issue, complete the following tasks in SAS® Management Console.
Note: If you selected multiple servers for the data library, then contact SAS Technical Support for assistance. You should contact SAS Technical Support even if one of the selected servers is the same server that is selected for WRSTEMP.
Sample server assignments
The following display shows correctly configured assignments. Both the data library and the WRSTEMP library are assigned to the same server context.
In the following display, the data library and the WRSTEMP library share a server context (SASApp2). However, if you base an information map on a table selected from the SASApp server context, then you will see the error.
The following display shows incorrectly configured assignments. The data library and the WRSTEMP library are assigned to different server contexts.
Standard workspace server account
If SAS Web Report Studio is using a standard workspace server (not common), then make sure that the user launching the workspace server has the ability to read and write to the WRSTEMP location. For a list of required permissions, see Where to find information about the query cache and WRSTEMP permissions
Pooled workspace server account
By default, SAS Web Report Studio uses a pooled workspace server. In that configuration, the launch credentials for the pooled workspace server must have the necessary permissions to the WRSTEMP location. To determine which credentials are being used for the pooled workspace server, perform these steps:
Note: Also make sure that this account is listed on the Accounts tab for the SAS General Servers group.
Test permissions
Follow these steps to determine whether the account that is being used to launch the workspace or the pooled workspace server has permissions to assign the WRSTEMP library.
For information about the query cache and WRSTEMP permissions, see the topic "Improving Performance of SAS Web Report Studio" in the SAS Intelligence Platform: Web Application Administration Guide. You can find a link to the guide on the SAS® Intelligence Platform Product Documentation page. Click the tab for your release of SAS.