Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
TIBCO Spotfire Web Player or Automation Services stop working with error in the logs “The process was terminated due to an unhandled exception. Exception Info: System.Runtime.InteropServices.COMException“
Solution:
This issue may occur all of sudden on all the installed services (Web Player and Automation Services) on a Node Manager and might stop working due to .NET framework corruption on the Node Manager machine hosting the problematic services. All services will appear in Red in the administration user interface and no analyses will open. In the respective service logs (Web Player or Automation Services), the following error will be seen:
09/28/2018 13:24:49 - b661cce6-8935-4c1a-9895-553cce56311c Starting worker instance in C:\tibco\tsnm\7.9.0\nm\services\WebWorker-30.2.12722.3868-2a6e51ab-c90c-41df-80a2-9b8eaf56659b 09/28/2018 13:24:49 - b661cce6-8935-4c1a-9895-553cce56311c Failed to start worker. System.Runtime.InteropServices.COMException (0x80010114): The requested object does not exist. (Exception from HRESULT: 0x80010114) at System.Management.ThreadDispatch.Start() at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.ExecuteQuery(String namespaceToQuery, String query) at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.ExecuteQueryAndGetProperties(String namespaceToQuery, String query, String[] propertyNames, String resultPropertyDivider, Boolean addNamesInLines) at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.ExecuteQueryAndGetFirstRow(String namespaceToQuery, String query, String[] propertyNames) at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.GetMemoryInformation() at Spotfire.Dxp.Web.SiteManager.Configure(PerformanceSectionGroup settings, String webRootPath, String webResourcesPath, ServerInformation info, Configurator configurator, IEnumerable`1 extraModulePaths) at Spotfire.Dxp.Worker.Host.WorkerHost.SetupDxpApplication(String baseUrl, String serviceInstanceId, X509Certificate2 clientCertificate, Uri tssUrl, String rootDirectory, IEnumerable`1 extraModulePathes, ServerUrl[] serverUrls) at Spotfire.Dxp.Worker.Host.WorkerHost.Run(String[] parameters) 09/28/2018 13:24:49 - b661cce6-8935-4c1a-9895-553cce56311c Application failed to start, see application log for more information. in state FAILED
This will also affect the TIBCO Spotfire Analyst client and prevent its successful launch on the same problematic Node Manager machine. The Windows Event logs captured on the machine will have the following event:
Application: Spotfire.Dxp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Runtime.InteropServices.COMException at System.Management.ThreadDispatch.Start() at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.ExecuteQuery(String namespaceToQuery, String query) at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.ExecuteQueryAndGetProperties(String namespaceToQuery, String query, String[] propertyNames, String resultPropertyDivider, Boolean addNamesInLines) at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.ExecuteQueryAndGetFirstRow(String namespaceToQuery, String query, String[] propertyNames) at Spotfire.Dxp.Internal.Diagnostics.WmiQuery.GetMemoryInformation() at Spotfire.Dxp.Loader.ProgramLoader.StartMain(Dictionary`2 state, String[] args, String upgradePath, List`1 moduleFolders, StarterSplash starterSplash, Boolean isCalledByLegacyStarter, Boolean isLog4netConfigured, Version starterVersion) at Spotfire.Dxp.Loader.ProgramLoader.InternalExecute(Dictionary`2 state, String[] args, Object splash, Version starterVersion, IList`1 moduleFolderList, String upgradePath, Boolean isCalledByLegacyStarter) at Spotfire.Dxp.Loader.ProgramLoader.Execute(Dictionary`2 state, String[] args, Object splash, Version starterVersion, IList`1 moduleFolderList, String upgradePath) Exception Info: System.Reflection.TargetInvocationException at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at Starter.Program.ProgramLoaderWrapper.Execute(String fullLoaderAssemblyName, String loaderTypeName, Dictionary`2 loaderState, String[] args, Object splash, Version starterVersion, IList`1 moduleFolderList, String upgradePath) at Starter.Program+ProgramLoaderWrapper.Execute(System.String, System.String, System.Collections.Generic.Dictionary`2<System.String,System.Object>, System.String[], System.Object, System.Version, System.Collections.Generic.IList`1<System.String>, System.String) at Starter.Program.Run(Spotfire.Dxp.Starter.StarterSplashWrapper, System.Collections.Generic.Dictionary`2<System.String,System.Object>, Boolean) at Starter.Program.ExecuteRunLoopWithBootstrapFlag(System.String[], Boolean) at Starter.Program.Main(System.String[])
This behavior is due to a corrupted .NET framework on the given machine. The Web Player, Automation Services, and the installed client are all dependent on the .NET framework version.
To resolve, as a first step verify if the installed .NET framework version meets the system requirements as specificied on the System Requirements page Web player services, Automation Services, or Spotfire Analyst:
To verify the .NET Framework version, run the following command in the command prompt on the problematic Node Manager machine:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full" /v version
Once .NET framework version verified, download the Microsoft .NET Framework Repair Tool from https://www.microsoft.com/en-us/download/details.aspx?id=30135, and install as per instructions mentioned on https://support.microsoft.com/en-us/help/2698555/microsoft-net-framework-repair-tool-is-available
Reboot the machine after Repair tool has been installed, and check if issue is resolved. If further issues persist, please contact TIBCO Support for further assistance.
Doc: System Requirements: External:
- https://social.msdn.microsoft.com/Forums/vstudio/en-US/125e76cc-dc83-436c-8502-9b3e60cfb5d5/net-framework-version-v4030319-description-the-process-was-terminated-due-to-an-unhandled?forum=netfxsetup
- https://social.technet.microsoft.com/Forums/en-US/2870063f-685f-4c8a-8fad-a4a95315751c/wsse-some-client-backups-stopped-working?forum=smallbusinessserver2011essentials
Comments
0 comments
Article is closed for comments.