"Could not load file or assembly 'Spotfire.Dxp.Web" error while starting of Web player service in Spotfire Administration Console UI

"Could not load file or assembly 'Spotfire.Dxp.Web" error while starting of Web player service in Spotfire Administration Console UI

book

Article ID: KB0071043

calendar_today

Updated On:

Products Versions
Spotfire Web Player All

Description

At times, users make changes to the Web player configuration and imports the configuration successfully into TIBCO Spotfire Server. After selecting the new configuration or executing set-service-config command, the Web player startup fails with the below error in the Administration Console UI and in the nm.log as well

===
Details: Status notified as STOPPED. The service exited with error code -532462766. Recent Logs: Error: Error: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Spotfire.Dxp.Web, Version=39.3.14305.4783, Culture=neutral, PublicKeyToken=789861576bd64dc5' or one of its dependencies. The system cannot find the file specified. Attempt to communicate with service was unsuccessful.
===

 

Environment

All

Resolution

The error message occurs if there is a mistake made in "Spotfire.Dxp.Worker.Host.exe.config" or in "Spotfire.Dxp.Worker.Web.config" while making changes to the configuration. Mistakes such as adding/removing a tag, not closing a tag or making use of special characters in places for eg: Password

There maybe other reasons too for such kind of occurance of issue. Please check the below points.


> Check if the default configuration is exported, If one is trying to export a configuration of older version, making the changes and importing it, it may cause such issue.
> Check if the version number of the deployment and the Spotfire.Dxp.Web package matches.

 

Issue/Introduction

After importing and selecting a new configuration, the Webplayer service startup fails with "Could not load file or assembly 'Spotfire.Dxp.Web" error message in the UI

Additional Information

​​​​​​Doc: export-service-config: Doc: import-service-config: Doc: set-service-config: