Product:TIBCO Spotfire Analyst
Versions:All
Summary:
Launching TIBCO Spotfire Analyst throws an error "Global and user services could not be initialized. The application will close."
Details:
Cannot launch the Analyst Client and the following error is received.
========================================
Error message: Global and user services could not be initialized. The application will close.
PlatformNotSupportedException at System:
Operation is not supported on this platform. (HRESULT: 80131539)
Stack Trace:
at System.Net.HttpListener..ctor()
at Spotfire.Dxp.Application.WebView.WebServer.CreateHttpListener(Int32 fromPort, Int32 toPort, Int32 numberOfPorts, HttpListener& httpListener)
at Spotfire.Dxp.Application.WebView.WebServer..ctor(WebViewRegistry webViewRegistry, WebViewResources webViewResources, ModulesService modulesService)
at Spotfire.Dxp.Application.VisualsServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Application.CoreServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Web.WebControlsServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Forms.FormsServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Framework.Services.GlobalServiceRegistry..ctor(ConnectivityService connectivityService, IServiceFactory serviceFactory, AddInManager addinManager, ModulesService modulesService)
at Spotfire.Dxp.Framework.Services.GlobalServiceRegistry..ctor(ConnectivityService connectivityService, IServiceFactory serviceFactory, AddInManager addinManager)
at Spotfire.Dxp.Main.Program.<>c__DisplayClass2.<StartMain>b__0()
Resolution:
Versions:All
Summary:
Launching TIBCO Spotfire Analyst throws an error "Global and user services could not be initialized. The application will close."
Details:
Cannot launch the Analyst Client and the following error is received.
========================================
Error message: Global and user services could not be initialized. The application will close.
PlatformNotSupportedException at System:
Operation is not supported on this platform. (HRESULT: 80131539)
Stack Trace:
at System.Net.HttpListener..ctor()
at Spotfire.Dxp.Application.WebView.WebServer.CreateHttpListener(Int32 fromPort, Int32 toPort, Int32 numberOfPorts, HttpListener& httpListener)
at Spotfire.Dxp.Application.WebView.WebServer..ctor(WebViewRegistry webViewRegistry, WebViewResources webViewResources, ModulesService modulesService)
at Spotfire.Dxp.Application.VisualsServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Application.CoreServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Web.WebControlsServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Forms.FormsServiceFactory.RegisterGlobalServices(GlobalServiceRegistry serviceRegistry)
at Spotfire.Dxp.Framework.Services.GlobalServiceRegistry..ctor(ConnectivityService connectivityService, IServiceFactory serviceFactory, AddInManager addinManager, ModulesService modulesService)
at Spotfire.Dxp.Framework.Services.GlobalServiceRegistry..ctor(ConnectivityService connectivityService, IServiceFactory serviceFactory, AddInManager addinManager)
at Spotfire.Dxp.Main.Program.<>c__DisplayClass2.<StartMain>b__0()
Resolution:
The error is caused if the HTTP service is disabled on the machine where the client is launched. To fix the error follow the steps below.
For Windows 2008 and Windows 7 and earlier
1). Goto - Control Panel >>Device Manager.
2). In menu View, select: Show hidden devices.
3). Open tree: Non-plug and Play Drivers.
4). Double-click: HTTP.
5). Tab Driver - Group Startup.
6). Switch from: Demand And Disabled.
7). The HTTP device should be re-enabled.
For Windows 8 and above
For Windows 2008 and Windows 7 and earlier
1). Goto - Control Panel >>Device Manager.
2). In menu View, select: Show hidden devices.
3). Open tree: Non-plug and Play Drivers.
4). Double-click: HTTP.
5). Tab Driver - Group Startup.
6). Switch from: Demand And Disabled.
7). The HTTP device should be re-enabled.
For Windows 8 and above
1. Open regedit, navigate to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]:
a) Change Start from 4 ( disabled) to 3 ( automatically)
b) Delete "NoRun" key if this key exists
2. Reboot the server.