- Home
- Forum
- ASP.NET MVC (Classic)
- Components are not allowing SessionState usage - other than InProc
Components are not allowing SessionState usage - other than InProc
Hi,
it seems like your components are not designed for usage with ASP.NET SessionState Server or SQL-SessionState.
Whenever I try to use it, I get this exception. What should I do? Version is: 11.2440.0.25
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.
[SerializationException: Type 'Syncfusion.Mvc.Shared.MvcAjaxScriptDescriptor' in Assembly 'Syncfusion.Shared.Mvc, Version=11.2440.0.25, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' is not marked as serializable.] System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +10494323 System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +230 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +121 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) +178 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) +394 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArrayMember(WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, Object data) +527 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo) +880 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) +655 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +446 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +131 System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1666
SIGN IN To post a reply.
2 Replies
HU
humanbeinc
October 4, 2013 10:00 AM UTC
You should really do sth. about this, because the components are basically worthless if they can't be used in multi-server/WebFarm environments
VS
Velmurugan S
Syncfusion Team
October 8, 2013 06:49 AM UTC
Hi Humanbeinc,
Thanks for using Syncfusion products.
We suspect that the reported issue “Components are not allowing session state” seems to reproduce in our control. We suggest you to create an incident in Direct-Trac using below link, so that we can validate the issue and provide you further details in the corresponding incident.
http://www.syncfusion.com/account/dashboard
In the interests of maintaining confidentiality, we have a policy of not sharing proprietary customer specific information in the public Forum. So, kindly create an incident in Direct-Trac.
Please let us know if you need further assistance,
Regards,
Velmurugan.
SIGN IN To post a reply.
- 2 Replies
- 2 Participants
-
HU humanbeinc
- Oct 4, 2013 09:58 AM UTC
- Oct 8, 2013 06:49 AM UTC