Unable to serialize the session state
<p>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.</p>

<blockquote>
  <p>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. </p>
  
  <p>Exception Details: System.Web.HttpException: 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.</p>
  
  <p>Source Error: </p>
  
  <p>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.</p>
  
  <p>Stack Trace: </p>
  
  <p>[SerializationException: Type 'Examination' in Assembly
  'App_Code.aw9uvznn, Version=0.0.0.0, Culture=neutral,
  PublicKeyToken=null' is not marked as serializable.]<br>
  System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType
  type) +7735723<br>
  System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type
  type, StreamingContext context) +258<br>
  System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
  +111    System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object
  obj, ISurrogateSelector surrogateSelector, StreamingContext context,
  SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
  ObjectWriter objectWriter) +161<br>
  System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object
  obj, ISurrogateSelector surrogateSelector, StreamingContext context,
  SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
  ObjectWriter objectWriter) +51<br>
  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
  graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
  +410    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream
  serializationStream, Object graph, Header[] headers, Boolean fCheck)
  +134    System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1577</p>
  
  <p>[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.]<br>
  System.Web.Util.AltSerialization.WriteValueToStream(Object value,
  BinaryWriter writer) +1662<br>
  System.Web.SessionState.SessionStateItemCollection.WriteValueToStreamWithAssert(Object
  value, BinaryWriter writer) +34<br>
  System.Web.SessionState.SessionStateItemCollection.Serialize(BinaryWriter
  writer) +606<br>
  System.Web.SessionState.SessionStateUtility.Serialize(SessionStateStoreData
  item, Stream stream) +239<br>
  System.Web.SessionState.SessionStateUtility.SerializeStoreData(SessionStateStoreData
  item, Int32 initialStreamSize, Byte[]&amp; buf, Int32&amp; length) +72<br>
  System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext
  context, String id, SessionStateStoreData item, Object lockId, Boolean
  newItem) +87<br>
  System.Web.SessionState.SessionStateModule.OnReleaseState(Object
  source, EventArgs eventArgs) +560<br>
  System.Web.SessionState.SessionStateModule.OnEndRequest(Object source,
  EventArgs eventArgs) +160<br>
  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  +68    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75</p>
  
  <hr>
</blockquote>

<p><a href="http://myweb.somee.com/login.aspx" rel="nofollow">http://myweb.somee.com/login.aspx</a>
Username: demo
Password: user</p>

<p>Click on take exam
select ASP.NET and click start exam.</p>

<p>You will see the error below. I need help to remove this error.
sidra.raheel@yahoo.com</p>

<p>Download source code from link below:
<a href="http://www.4shared.com/zip/-KF0Zjsi/Quiz_Engine_in_ASP.html" rel="nofollow">http://www.4shared.com/zip/-KF0Zjsi/Quiz_Engine_in_ASP.html</a></p>
