Jump to content

Spotfire 10.3: Map not rendering on web player


Sean Flaherty 2

Recommended Posts

Hello,

I have a map chart I included in an anlysis that is visible in the analyst but I am getting the following error in the web player on multiple clients:

ERROR 2020-05-04T15:03:58,891+0000 [xxxxx, #89, #27592] wp.controller.ErrorPageController: Reference=f0c64324-10d6-4f59-845f-7d884fb70929,waid=qS7cdK3bYUyO-zYeyHQAT-2417263bf5SxHi ClientError: Unhandled worker thread exception

SharpDX.SharpDXException: HRESULT: [0x8899000B], Module: [sharpDX.Direct2D1], ApiCode: [D2DERR_NO_HARDWARE_DEVICE/NoHardwareDevice], Message: No hardware rendering device is available for this operation.

 

at SharpDX.Result.CheckError()

at SharpDX.Direct2D1.Factory.CreateWicBitmapRenderTarget(Bitmap target, RenderTargetProperties& renderTargetProperties, RenderTarget renderTarget)

at Spotfire.Dxp.Application.Visuals.Components.RendererDirect2D..ctor(RenderContext ctx)

at Spotfire.Dxp.Application.Visuals.Components.RenderContext.BeginRenderDirect2D()

at Spotfire.Dxp.Application.Visuals.Components.RenderContext.CreateMarkerRenderer(Int32 markerCount, IList`1 shapes, RangeF sizeRange, ColorEffect outlineEffect, Boolean hasRotation)

at Spotfire.Dxp.Application.Visuals.ScatterLayer.DrawMarkers(Plot2dViewContext viewContext, RenderContext ctx, Plot2dPanel panel)

at Spotfire.Dxp.Application.Visuals.ScatterLayer.OnRenderPanel(Plot2dViewContext viewContext, RenderContext ctx, Plot2dPanel panel)

at Spotfire.Dxp.Application.Visuals.Maps.MarkerLayerVisualization.RenderLayerVisualizationPanel(Plot2dViewContext viewContext, RenderContext ctx, Plot2dPanel panel)

at Spotfire.Dxp.Application.Visuals.Maps.MapChart.c__DisplayClass211_0.b__0()

at Spotfire.Dxp.Application.Visuals.Maps.MapChart.RenderSingleLayerWithLabels(Plot2dViewContext viewContext, RenderContext ctx, Plot2dPanel panel, MapChartLayer layer, Boolean canUseCurrentRenderContext)

at Spotfire.Dxp.Application.Visuals.Maps.MapChart.OnRenderPanelForSetOfLayers(Plot2dViewContext viewContext, RenderContext ctx, Plot2dPanel panel, MapChartLayer startLayer)

at Spotfire.Dxp.Application.WebView.Plots.MapChartWebView.c__DisplayClass26_3.b__3(RenderContext ctx)

at Spotfire.Dxp.Application.Visuals.Components.RenderManager.RenderBitmap(Int32 width, Int32 height, Box box, Action`1 render)

at Spotfire.Dxp.Application.Visuals.Components.RenderManager.RenderPngStream(Int32 width, Int32 height, Box box, Action`1 render)

at Spotfire.Dxp.Application.WebView.Plots.MapChartWebView.c__DisplayClass26_1.b__0(MapChart currentSnapshot)

at Spotfire.Dxp.Framework.DocumentModel.Snapshot`1.c__DisplayClass16_0.b__0()

at Spotfire.Dxp.Framework.DocumentModel.ThreadTransactionInfo.EvaluateWithLimitationTarget(ILimitationTarget limitationTarget, Executor executor)

at Spotfire.Dxp.Framework.DocumentModel.Snapshot`1.ReadWithLimitationTarget(ILimitationTarget limitationTarget, Action`1 action)

at Spotfire.Dxp.Framework.DocumentModel.Snapshot`1.ReadWithGenerationSpan(Action`1 action, Action`1 invalidPropertyReadCallback)

at Spotfire.Dxp.Application.WebView.Plots.MapChartWebView.GetPlotImage(String[] keys)

at Spotfire.Dxp.Application.WebView.WebView`1.c__DisplayClass68_0.b__0(TModel node)

at Spotfire.Dxp.Framework.DocumentModel.Snapshot`1.c__DisplayClass16_0.b__0()

at Spotfire.Dxp.Framework.DocumentModel.ThreadTransactionInfo.EvaluateWithLimitationTarget(ILimitationTarget limitationTarget, Executor executor)

at Spotfire.Dxp.Framework.DocumentModel.Snapshot`1.ReadWithLimitationTarget(ILimitationTarget limitationTarget, Action`1 action)

at Spotfire.Dxp.Framework.DocumentModel.Snapshot`1.ReadWithGenerationSpan(Action`1 action, Action`1 invalidPropertyReadCallback)

at Spotfire.Dxp.Application.WebView.WebView`1.SnapshotReadWithProgress(String progressTitle, ReadContext context, Action`1 reader)

at Spotfire.Dxp.Application.WebView.WebView`1.GetImageData(String key)

at Spotfire.Dxp.Web.WebAnalysis.GetImage(Guid webViewId, String args)

at Spotfire.Dxp.Web.AnalysisImageHandler.GenerateImage(Handle webAnalysisHandle, String sessionId, String webViewIdValue, String waid, String nodeId, String arguments, String seedId, IsConnected isConnected, Func`1 hasStopwatchExpired)The web player is running on Windows Server 2019. Is there a something I need to set on the web player box to allow hardware rendering

 

Thank you and kind regards,

Sean Flaherty

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...