[Mapguide-trac] [mapguide-trac] #2255: setselection.aspx crashing IIS 7.5 application pool every few minutes
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Apr 3 05:06:57 PDT 2013
#2255: setselection.aspx crashing IIS 7.5 application pool every few minutes
---------------------------+------------------------------------------------
Reporter: sreckol | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: AJAX Viewer | Version: 2.2.0
Severity: trivial | Keywords: setselection.aspx
External_id: |
---------------------------+------------------------------------------------
Hi,
I got this error on IIS 7.5 every few minutes:
----------------------------------------------------------------
Exception: System.Runtime.Serialization.SerializationException
Message: Type 'OSGeo.MapGuide.MgUnclassifiedException' in Assembly
'OSGeo.MapGuide.Foundation, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=null' is not marked as serializable.
StackTrace: at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
ObjectWriter objectWriter)
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
ObjectWriter objectWriter)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream
serializationStream, Object graph, Header[] headers, Boolean fCheck)
at
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object
obj, MemoryStream stm)
at System.AppDomain.Serialize(Object o)
at System.AppDomain.MarshalObject(Object o)
----------------------------------------------------------------
I think that there should be also:
'''features.Dispose();'''
After adding this line error went out.
Don't know if this should be also in setselection.jsp and setselection.php
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2255>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list