Opened 12 years ago

Closed 10 years ago

#2255 closed defect (invalid)

setselection.aspx crashing IIS 7.5 application pool every few minutes

Reported by: sreckol Owned by:
Priority: low Milestone: 2.6
Component: AJAX Viewer Version: 2.2.0
Severity: trivial Keywords: setselection.aspx
Cc: External ID:

Description

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

Attachments (1)

setselection.aspx (4.8 KB ) - added by sreckol 12 years ago.

Download all attachments as: .zip

Change History (3)

by sreckol, 12 years ago

Attachment: setselection.aspx added

comment:1 by sreckol, 12 years ago

Same also in files: selectwithin.aspx search.aspx measure.aspx buffer.aspx getselectedfeatures.aspx

comment:2 by jng, 10 years ago

Milestone: 2.6
Resolution: invalid
Status: newclosed

setselection.[aspx|php|jsp] has been removed for 2.6

Note: See TracTickets for help on using tickets.