SSRS Bing Maps Intermittent Error
We are using SSRS to create reports with a mapping component for our SQL Server 2019 database. We are using the default Bing maps tile layer to show a Road background for the maps. Starting earlier this month we have had an intermittent error where a white page is shown on the map portion of the report instead of the map. The error that is shown in the white page is, "Object reference not set to an instance of an object.". The error might occur once every eight pages that are being produced. Sometimes this error happens more than that, and other times it doesn't happen. The stack trace that we are getting from the logs when a white page error occurs is,
reportrendering!ReportServer_0-1!2ac8!07/18/2024-14:35:45:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Reporting.Map.WebForms.Layer.GetAttributionStrings()
at Microsoft.Reporting.Map.WebForms.MapCore.GetTileLayerAttributions()
at Microsoft.Reporting.Map.WebForms.MapCore.RenderTileLayerAttributions(MapGraphics g)
at Microsoft.Reporting.Map.WebForms.MapCore.RenderElements(MapGraphics g)
at Microsoft.Reporting.Map.WebForms.MapCore.Paint(Graphics gdiGraph, RenderingType renderingType, Stream stream, Boolean buffered)
at Microsoft.ReportingServices.OnDemandReportRendering.MapMapper.GetPngImage(Stream& imageStream, Int32 width, Int32 height)
at Microsoft.ReportingServices.OnDemandReportRendering.MapMapper.GetImage(ImageType imageType)
--- End of inner exception stack trace ---;
We didn't make any changes to the report before the issues started. We have tried modifying the "MapTileServerConfiguration" by increasing the MaxConnections, and changing the CacheLevel. These changes did not help solve the issue.
The version of SSRS that we are running is 15.0.1102.1047.