TIBCO Spotfire Web Player or Automation Services instance fail to start after upgrade to 11.5 with "Could not load type 'System.Runtime.InteropServices.OSPlatform'" exception

TIBCO Spotfire Web Player or Automation Services instance fail to start after upgrade to 11.5 with "Could not load type 'System.Runtime.InteropServices.OSPlatform'" exception

book

Article ID: KB0072925

calendar_today

Updated On:

Products Versions
Spotfire Server 11.5 and higher

Description

After a new installation or upgrade from 11.4 or lower to TIBCO Spotfire version 11.5 or higher, the following error is returned while trying to start the TIBCO Spotfire Web Player or Automation Services instances and the services will not start:

"Status notified as FAILED. The service exited with error code -532462766. Recent Logs: Error: Error: Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.InteropServices.OSPlatform' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Error: at Spotfire.Dxp.Worker.Utilities.ConsoleLogger.LogStartUp(String logMessage, LogLevels logLevel) Error: at Spotfire.Dxp.Worker.Host.Program.CreateProgramRunner() Error: at Spotfire.Dxp.Worker.Host.Program.Main(String[] args)"
 

Environment

OS: Windows

Resolution

The above error is generally caused due to having the incorrect .NET Framework version installed on the Node Manager machine. As of Spotfire version 11.5, Microsoft .NET Framework version 4.8 or higher is required. 

To resolve, check for Microsoft .NET Framework version on Node Manager machine:

User-added image

If it is lower than Microsoft .NET Framework version 4.8 then download the 4.8 version and install it. Once successfully installed, if upgrading attempt the update of the Spotfire services again.

Notes: 
  • On Microsoft Windows Server 2012 (all variants), Microsoft .NET Framework version 3.5 must be enabled as well.
  • Microsoft .NET Framework requires Administrator rights to complete installation.

Issue/Introduction

This article explains the issue faced during installation or after upgrade of TIBCO Spotfire Web Player or Automation Service.

Additional Information

Doc: TIBCO Spotfire System Requirements > Spotfire Web Player 11.5 Doc: Upgrading Spotfire Doc: Updating services