[mapguide-users] HttpServerConnection not serializable

Hans Milling hm at geograf.dk
Thu Apr 12 05:33:04 EDT 2012


Hi all

Using MaestroAPI 4 I save my HTTPServerConnection in a session object. This
works fine but if I change the web.config to either use SQL Server or
Session State Server instead of InProc, I get an error:
[SerializationException: Type
'OSGeo.MapGuide.MaestroAPI.HttpServerConnection' in Assembly
'OSGeo.MapGuide.MaestroAPI.Http, Version=4.0.0.6359, Culture=neutral,
PublicKeyToken=f526c48929fda856' is not marked as serializable.]

How much effort is needed to make the http connection object (and also local
native) serializable? Is it possible at all?

Hans...

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/HttpServerConnection-not-serializable-tp4849061p4849061.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list