Unable to serialize the session state???

Posted By t_rick_s Sat 14 Feb 2015
Add to Favorites0
Author Message
t_rick_s
 Posted Sat 14 Feb 2015
Supreme Being

Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)Supreme Being - (7,058 reputation)

Group: Forum Members
Last Active: Fri 27 Feb 2015
Posts: 11, Visits: 41
What in the world does this mean? All I get from clicking the checkout button is a mess of images and text in the upper right corner with the "Oops"-page as background.
Any clues?

Kartris v2.8001 on shared hosting.

>> Unhandled Error occurred in Page:http://www.qwerty.xx/Checkout.aspx
-----------------------------------------------------------------------------
>> 2015-02-14 23:10:33
>> Version:2,8001
>> URL:http://www.qwerty.xx/Checkout.aspx
>> 85.225.82.137
>> DESCRIPTION:
System.Web.HttpException (0x80004005): Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode. ---> System.Runtime.Serialization.SerializationException: Type 'Kartris.Interfaces.objShippingDetails+BaseAddressClass' in Assembly 'Kartris.Shipping, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)
at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
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.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)
at System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)
at System.Web.SessionState.SessionStateItemCollection.WriteValueToStreamWithAssert(Object value, BinaryWriter writer)
at System.Web.SessionState.SessionStateItemCollection.Serialize(BinaryWriter writer)
at System.Web.SessionState.SessionStateUtility.Serialize(SessionStateStoreData item, Stream stream)
at System.Web.SessionState.SessionStateUtility.SerializeStoreData(SessionStateStoreData item, Int32 initialStreamSize, Byte[]& buf, Int32& length, Boolean compressionEnabled)
at System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

==================================================


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top