Hello Support,
I downloaded Aspose Cells Gridweb Demo from here.
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry539977.aspx
It Working fine if you Set Session in “In Process”.
I change the Session to “State Server” instead of “In Proc”.
I got the attached error.
“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.”.
Please advise me.
Thanks
Hi Patrick,
[SerializationException: Type ‘Aspose.Cells.GridWeb.Data.GridWorkbook’ in Assembly ‘Aspose.Cells.GridWeb, Version=8.3.0.0, Culture=neutral, PublicKeyToken=699ccf88ff76f11a’ is not marked as serializable.]
System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +10751795
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) +182
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) +51
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +540
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
[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.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1754
System.Web.SessionState.SessionStateItemCollection.WriteValueToStreamWithAssert(Object value, BinaryWriter writer) +34
System.Web.SessionState.SessionStateItemCollection.Serialize(BinaryWriter writer) +628
System.Web.SessionState.SessionStateUtility.Serialize(SessionStateStoreData item, Stream stream) +240
System.Web.SessionState.SessionStateUtility.SerializeStoreData(SessionStateStoreData item, Int32 initialStreamSize, Byte[]& buf, Int32& length, Boolean compressionEnabled) +62
System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +111
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +565
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Hi Patrick,
Hi,
I’m having the same problem as Patrick.
Has there been any progress made in addressing this?
Thanks
Jim
Hi Jim,
Thanks for your posting and using Aspose.Cells for GridWeb.
Aspose.Cells
currently does not support serialization, so we are afraid, this issue
cannot be fixed. However, this issue is open. If we will have any further update
for you, we will let you know asap.
Hi Shakeel Faiz,
Did you fixed the “CELLSNET-43185”?
Please let us know.
Thanks
Hi,
Thanks for your posting and considering Aspose.Cells.
We are afraid, there is no update for you regarding this issue at this moment. However we have logged your comment in our database against this issue and requested the product team to provide some ETA or update for this issue. Once, there is some news for you, we will share it with you asap.
Hi Patrick,
Hi Patrick,
Thanks Babar Raza.
Waiting for the new dll :).
The issues you have found earlier (filed as CELLSNET-43185) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
I have downloaded the latest 8.6.2 version with the fix but still have the serialization issue?
Besides that; i can’t find the .enablesession property on the gridweb control as stated in
Please explain.
Hi Vincent,
Attached a sample project. Fairly easy; just create a new project, define the gridweb control combined with ‘stateserver’ in the web.config.
Hi Vincent,
Yes, confirmed
Hi,
Hi Babar,
I still have the Same problem If I run through Master Page. If I run without Master page, then its working fine.
I think still have problem in Aspose Cells Grid Web only.
Please confirm.
Thanks
Hi Patrick,
Hi,