Users may come across ERROR: "The task could not be completed. Unable to open analysis 'XXXX/XXXX.' " while opening analysis file in TIBCO Spotfire Web Player

Users may come across ERROR: "The task could not be completed. Unable to open analysis 'XXXX/XXXX.' " while opening analysis file in TIBCO Spotfire Web Player

book

Article ID: KB0081003

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and later

Description

Users may be unable to open analysis files in Web Player when these analysis files are not part of scheduled update and may come across error  "The task could not be completed. Unable to open analysis 'XXXX/XXXX." while opening files. 

Refer to the attached screenshot (Filename: File_Open_Error_In_WP.jpg) of the error while opening the analysis file in Web Player. You may come across below error in Web Player log file - Spotfire.Dxp.Worker.Host.Debug.XXXX-XXXX-XXXX-XXXX-XXXXXXXX:

wp_error
========== 
ERROR;2018-07-20T11:05:42,100+01:00;2018-07-20 10:05:42,100;fbab8f9f-e348-4751-8405-72aee5ae9307;181847c655SlOt;WorkThread 57;testuser@company.com WAT 118;Spotfire.Dxp.Web.Prompting.PromptHandler+PromptItem;"Spotfire.Dxp.Data.Exceptions.ImportException: Failed to execute data query ---> Spotfire.Dxp.Data.Exceptions.InformationModelException: The testuser principal has insufficient privileges. ---> Spotfire.Dxp.Services.Data.InformationModel.InformationModelServiceException: The testuser principal has insufficient privileges.
   at Spotfire.Dxp.Services.WebServiceBase`1.InvokeService[T](ServiceMethod`1 serviceMethod, ExceptionFactoryMethod exceptionFactoryMethod)
   at Spotfire.Dxp.Data.InformationModel.InternalInformationModelManager.OpenJob(InformationLinkElement informationLink, IList`1 parameters, Boolean isReferenced)
.... 
....
ERROR;2018-07-20T11:05:42,100+01:00;2018-07-20 10:05:42,100;fbab8f9f-e348-4751-8405-72aee5ae9307;181847c655SlOt;WorkThread 57;testuser@company.com WAT 118;Spotfire.Dxp.Web.WebAnalysis;"Unable to open file '/test(3)/test116'"
Spotfire.Dxp.Data.Exceptions.ImportException: Failed to execute data query ---> Spotfire.Dxp.Data.Exceptions.InformationModelException: The APP_PI_AUTOMATION principal has insufficient privileges. ---> Spotfire.Dxp.Services.Data.InformationModel.InformationModelServiceException: The testuser principal has insufficient privileges.
   at Spotfire.Dxp.Services.WebServiceBase`1.InvokeService[T](ServiceMethod`1 serviceMethod, ExceptionFactoryMethod exceptionFactoryMethod)
   at Spotfire.Dxp.Data.InformationModel.InternalInformationModelManager.OpenJob(InformationLinkElement informationLink, IList`1 parameters, Boolean isReferenced)
   --- End of inner exception stack trace ---
===========

Note: When Analysis files are in scheduled update and cached in Web Player, users can open them.
 

Issue/Introduction

Users may come across ERROR: "The task could not be completed. Unable to open analysis 'XXXX/XXXX.' " while opening analysis file in TIBCO Spotfire Web Player

Environment

All Supported OS

Resolution

This error may occur if the user account (or the group in which user is member) opens analysis file in Web player doesn't have "Access" permission on Spotfire library folders where any of these below library items are located:
- The information links associated with this analysis file.
- Any elements used in building the associated information links (column elements, filter elements, join elements)
- The Spotfire data source(s) used in creating any of the elements used in building the information links

Provide required users or groups "Access" permission on all of the Spotfire library folders as mentioned above using Spotfire Library Administration.

Note: The folder that is most frequently overlooked, when granting these permissions, is the folder that contains the data source.

Attachments

Users may come across ERROR: "The task could not be completed. Unable to open analysis 'XXXX/XXXX.' " while opening analysis file in TIBCO Spotfire Web Player get_app