Hi guys,
When trying to serialize a MagneticDeclinationPrinterLayer using the GeoSerializer the following exception is thrown:
Exception Source: MapSuiteCoreException Type: System.ExceptionException Message: ohM=.8GM= is not marked as serializableException Target Site: PjY=
---- Stack Trace ----ThinkGeo.MapSuite.Core.GeoObjectModeler.PjY=(PzY= As Object, QDY= As GeoObjectNode, QTY= As String, QjY= As Type)GeoSuite.EXE: N 00390ThinkGeo.MapSuite.Core.GeoObjectModeler.CreateMemberNodeCore(memberName As String, memberValue As Object, memberType As Type, memberOwner As Object, baseMemberNode As GeoObjectNode)GeoSuite.EXE: N 00045ThinkGeo.MapSuite.Core.GeoObjectModeler.CreateMemberNode(memberName As String, memberValue As Object, memberType As Type, memberOwner As Object, baseMemberNode As GeoObjectNode)GeoSuite.EXE: N 00107ThinkGeo.MapSuite.Core.GeoObjectModeler.bzY=(cDY= As Object, cTY= As GeoObjectNode, cjY= As FieldInfo)GeoSuite.EXE: N 00135ThinkGeo.MapSuite.Core.GeoObjectModeler.aDY=(aTY= As Object, ajY= As GeoObjectNode)GeoSuite.EXE: N 00379ThinkGeo.MapSuite.Core.GeoObjectModeler.PjY=(PzY= As Object, QDY= As GeoObjectNode, QTY= As String, QjY= As Type)GeoSuite.EXE: N 02142ThinkGeo.MapSuite.Core.GeoObjectModeler.OjY=(OzY= As Object)GeoSuite.EXE: N 00361ThinkGeo.MapSuite.Core.GeoObjectModeler.CreateModel(objectToModel As Object, memberTypes As GeoObjectModelerMemberTypes, bindingFlags As BindingFlags, defaultValueMode As GeoObjectModelerDefaultValueMode)GeoSuite.EXE: N 00088ThinkGeo.MapSuite.Core.GeoSerializer.Serialize(objectToSerialize As Object, targetPathFileName As String)GeoSuite.EXE: N 00086MapUtilities.SilvicsPageLayout.SerializeLayoutTemplate(oGeoSerializer As GeoSerializer, sTempZipFileName As String, sFolder As String, oFilesToDelete As Collection`1)SilvicsPageLayout.vb: line 2037, col 10, IL 0260MapUtilities.WorkingSet.SaveWorkingSet(oToc As SilvicsTocControl, sCurrentFileName As String&)WorkingSet.vb: line 0161, col 10, IL 0986
Is the MagneiticDeclinationPrinterLayer supposed to be serializeable?
Thanks!
Steve