"Save report failed due to backend service problem" in SAS® Web Report Studio if SAS Trusted User does not have a required metadata permission


An incorrectly set permission for the SAS Trusted User might prevent you from saving reports in SAS Web Report Studio. Typical errors are You do not have permission to modify this folder and Save report failed due to backend service problem.

The log might contain the following combination of errors:

2011-12-14 10:18:47,595 INFO  [STDOUT] 2011-12-14 10:18:47,594 [http-0.0.0.0-8080-
12] ERROR [266ec41063a79bd1:-33399a93:13439b250e5:-724bsasdemo] 
com.sas.apps.citation.view.beans.report.SaveOptionFormBean - Root Cause:   
com.sas.services.webdav.DAVException: [Realm=Jackrabbit Webdav Server] Authentication required, but invalid 
credentials supplied

.............

Which Caused: com.sas.apps.citation.model.repository.adapter.CitationRepositoryException: Cannot find or 
create [SBIP://METASERVER/Shared Data/test.srx](Reason : Not Found) [ 
com.sas.report.repository.RepositoryException: [Realm=Jackrabbit Webdav Server] Authentication required, but 
invalid credentials supplied ]

.............

2011-12-14 10:20:58,965 INFO  [STDOUT] 2011-12-14 10:20:58,965 [MultiSessionManager] WARN  [266ec41063a79bd1:-
33399a93:13439b250e5:-724bsasdemo] com.sas.apps.citation.model.user.history.HistoryStoreMetadataCachingImpl - 
cannot save history/preferences for user - check home folder existence.

If you see this particular combination of errors, the most likely cause is a missing metadata permission. To resolve this issue, perform the following steps:

  1. Log into SAS Management Console as an administrative user with the ability to make changes using the Authorization Manager plug-in.
  2. Under the Authorization Manager plug-in, select Resource Management ► By Type ► Text Store.
  3. Expand Text Store, right-click on Report Repository Content Mapping, and select Properties.
  4. Click the Authorization tab. The SAS Trusted User should be listed in this dialog box and the account should have explicitly granted ReadMetadata.
  5. If you make changes, restart your Web application server.

If SAS Trusted User appears to already have correctly set permissions, then contact SAS Technical Support for further assistance.