![]() | ![]() | ![]() |
In SAS Web Report Studio, when attempting to view a report, the objects in the report might be missing, and you might see error details similar to the following.
[a12768071117920.282713169742006_0_0] Error Rendering the Report ERROR: Libname xxxxx is not assigned. at com.sas.iquery.execution.instructions.SASSubmitHandler.execute(SASSubmitHandler.java:207) at com.sas.iquery.execution.instructions.AbstractSASSubmitInstruction.submitLanguageInstructions(AbstractSASSubmitInstruction.java:109) at com.sas.iquery.execution.instructions.AbstractSASSubmitInstruction.execute(AbstractSASSubmitInstruction.java:44) at com.sas.iquery.execution.instructions.SASSubmitInstruction.execute(SASSubmitInstruction.java:87) .........
Note that the library error appears for the first object in the report that cannot be rendered. Error details for additional objects will contain content such as the following:
Root Cause: java.lang.NullPointerException at com.sas.report.render.optimizer.models.ChildQueryBuilder.createQuery(ChildQueryBuilder.java:507) at com.sas.report.render.optimizer.SectionOptimizer.retrieveChildQuery(SectionOptimizer.java:303) at com.sas.report.render.optimizer.SectionOptimizer.getChildQuery(SectionOptimizer.java:357) at com.sas.report.render.optimizer.Optimizer.getChildQuery(Optimizer.java:139)
Note: If the error includes garbage characters such as ÿÿÿÿh¡ú in the LIBNAME statement, then see SAS Note 14862.
This error can occur when the launch credentials for the pooled workspace server (used by default starting in version 4.2) cannot be used to assign the library. Typically, sassrv (the login for the SAS General Servers group) is the account that is used to launch the server. To determine which account is used at your site, see How to verify the pooled workspace server launch credentials.
As a workaround, you can take one of the following actions:
You can give the pooled workspace server launch credentials the same permissions that you have given to individual users who need to access the data. For example, you might need to add an account for sassrv on the database server.
You can change the library definition so that it is not preassigned.
You can change the launch credentials for the pooled workspace server to a user who can successfully submit the LIBNAME statement. The new credentials must meet the requirements in "Criteria for a Designated Launch Credential" in Launch Credentials.
You can convert to a standard workspace server so that the LIBNAME statement is submitted using the credentials of the logged in user. This option will negatively impact performance. For information about switching to a standard workspace server, see SAS Note 37422.
To determine which credentials are being used for the pooled workspace server, perform these steps:
Note: SASApp is the default server context name. Your server context might have a different name.
CAUTION: If you decide to change the credentials for the pooled workspace server, then you must restart your object spawner for the change to take effect.
For more information about benefits and risks of using pooled workspace servers, see Choices in Workspace Server Pooling.
| Product Family | Product | System | Product Release | SAS Release | ||
| Reported | Fixed* | Reported | Fixed* | |||
| SAS System | SAS Web Report Studio | Microsoft® Windows® for x64 | 4.2 | 9.2 TS2M0 | ||
| Microsoft Windows Server 2003 Datacenter Edition | 4.2 | 9.2 TS2M0 | ||||
| Microsoft Windows Server 2003 Enterprise Edition | 4.2 | 9.2 TS2M0 | ||||
| Microsoft Windows Server 2003 Standard Edition | 4.2 | 9.2 TS2M0 | ||||
| Microsoft Windows Server 2003 for x64 | 4.2 | 9.2 TS2M0 | ||||
| Microsoft Windows Server 2008 for x64 | 4.2 | 9.2 TS2M0 | ||||
| Microsoft Windows XP Professional | 4.2 | 9.2 TS2M0 | ||||
| Windows Vista | 4.2 | 9.2 TS2M0 | ||||
| Windows Vista for x64 | 4.2 | 9.2 TS2M0 | ||||
| 64-bit Enabled AIX | 4.2 | 9.2 TS2M0 | ||||
| 64-bit Enabled Solaris | 4.2 | 9.2 TS2M0 | ||||
| HP-UX IPF | 4.2 | 9.2 TS2M0 | ||||
| Linux for x64 | 4.2 | 9.2 TS2M0 | ||||
| Solaris for x64 | 4.2 | 9.2 TS2M0 | ||||
| Type: | Usage Note |
| Priority: | |
| Topic: | Query and Reporting ==> Interactive Querying SAS Reference ==> Statements ==> Data Access ==> LIBNAME |
| Date Modified: | 2010-06-17 17:00:54 |
| Date Created: | 2010-06-17 16:44:27 |



