Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to serialize the session state error with add on moduleUnable to serialize the session state error with add on module
Previous
 
Next
New Post
1/15/2006 4:38 PM
 

i'm trying to run a 2nd party timexp module to my DNN site (v3.2.2, .net v1.1.4322.2032) that is running from a shared hosting provider's environment.  essentially, its the time tracking system that has been converted to use the login and users from DNN.  it installs clean, but whenever I try to do any admin function (e.g., add project, etc.) I get an error--- I know this may be outside the bounds of this forum, but I thought someone may be able to point me in the right direction.  thanks.

Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SerializationException: The type ICPC.DNN.Modules.TimeXP.BusinessLogicLayer.CategoriesCollection in Assembly ICPC.DNN.Modules.TimeXP, Version=1.0.2111.39618, Culture=neutral, PublicKeyToken=null is not marked as serializable.]
   System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type, Boolean excludeNonSerializable) +868
   System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +300
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +103
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter) +493
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter) +48
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +683
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +136
   System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1621

[HttpException (0x80004005): Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.]
   System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1711
   System.Web.SessionState.SessionDictionary.Serialize(BinaryWriter writer) +148
   System.Web.SessionState.StateClientManager.Serialize(SessionStateItem item, Stream stream) +146
   System.Web.SessionState.OutOfProcStateClientManager.System.Web.SessionState.IStateClientManager.Set(String id, SessionStateItem item, Boolean inStorage) +121
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +465
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to serialize the session state error with add on moduleUnable to serialize the session state error with add on module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out