This error occurs because the Spotfire Web Player has a default file size limit of 1024 MB (1GB) for files uploaded to the service, configurable up to a maximum of 2047 MB.
To resolve this, you can increase the file size limit up to 2047 MB, just below the 2GB maximum in the Spotfire.Dxp.Worker.Web.config file.
To modify the Spotfire.Dxp.Worker.Web.config file, follow these steps:
1) On the computer running Spotfire Server, open the command line as an administrator. Change the directory to the location of the config.bat file (config.sh on Linux).
The default location is <server installation directory>/tomcat/spotfire-bin.
2) Use the following command to export the configuration file:
config export-service-config --capability=Web Player --deployment-area=Production
3) Edit the exported configuration file - ‘Spotfire.Dxp.Worker.Web.config' in a text editor
4) Increase the file size limit by modifying the "maxReceivedMessageSizeMb" setting.
5) Use the following command to import the modified configuration file:
config import-service-config --config-name=<new-config-name>
6) From the Spotfire Server Admin UI Nodes and Services page specify the configuration to use, and then start the service.
- Open a web browser and log in to the administration console for Spotfire Server.
- Navigate to Nodes & Services.
- Under Network Components, select Nodes, then select the specific service.
- Click Edit to open the Edit Service dialog box.
- In the Configuration drop-down list, select the configuration name to apply, and click Save.
If you need to open files larger than the max limit, you should use the installed client (Analyst) which has no such limitation:
- Open the large data file using Spotfire Analyst.
- Save the analysis to the library.
- Open the analysis in the Web Player.