I am using MapSuite web 5.5.153.0 version. This is the version we used in our last deployment.
It was working on last deployment. Now I don't know what caused the problem when we show legends on the map, it only shows a pink screen. Also we catch the error as below:
Parameter is not valid.
Server stack trace:
at System.Drawing.Bitmap..ctor(Stream stream)
at ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas.BeginDrawingCore(Object nativeImage, RectangleShape worldExtent, GeographyUnit drawingMapUnit)
at ThinkGeo.MapSuite.Core.GeoCanvas.BeginDrawing(Object nativeImage, RectangleShape worldExtent, GeographyUnit drawingMapUnit)
at ThinkGeo.MapSuite.Core.LegendAdornmentLayer.DrawCore(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.WebEdition.AdornmentOverlay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.WebEdition.AdornmentOverlay.Draw(GeoCanvas canvas)
at ohM=.5hM=.ProcessRequestCore(HttpContext context)
at ohM=.5hM=.ProcessRequest(HttpContext context)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Action`1.EndInvoke(IAsyncResult result)
at ohM=.5hM=.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)
Source Url : /adornment_GeoResource.axd
I know upgrading the product might fix the problem but I want to know if there an easy fix so we don't have to reinstall everything on the server.