This article describes how to resolve the error, "Open Analysis from Library failed\nThe file '/XXXXX/XXXXX' could not be found in the library" when using "execute on server" in Automation Services
Symptoms: - An attempt to execute an Automation Services task on a server fails, with this error: "Open Analysis from Library failed\nThe file '/XXXXX/XXXXX' could not be found in the library".
- Whereas Automation tasks/jobs on analysis files placed in the root folder of the Spotfire library execute as expected but tasks on analysis files placed in locations other than the root folder tend to fail.
Example: ---------------------------------------------------------------------------------------------------------------------------------------------
Error Message: You do not have sufficient privileges for this action
FAILED: Task 2 'Save Analysis to Library' failed with: Spotfire.Dxp.Framework.Library.LibraryException: You do not have sufficient privileges for this action. ---> Spotfire.Dxp.Services.Library.LibraryServiceException: You do not have sufficient privileges for this action.
----------------------------------------------------------------------------------------------------------------------------------------------
Cause: This happens if the "automationservices@SPOTFIRESYSTEM" account does not have the permissions necessary for this task on the specific Spotfire library folders that contain the analysis and the Information Services elements (such as information links, data sources, columns, joins, and filters) it uses.