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'. - DOTNET

This is a discussion on 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'. - DOTNET ; I am attempting to store my session state via SQL Server...however, one of my dataset is generating the following error: Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state ...

+ Reply to Thread
Results 1 to 2 of 2

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'.

  1. Default 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'.

    I am attempting to store my session state via SQL Server...however, one
    of my dataset is generating the following error:

    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'.

    I have other datasets that serialize fine. What's the deal? Is there
    a size limit? (The other datasets are smaller)

    --Thanks!


  2. Default Re: 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'.

    most probably, one of the contents that you have in your dataset isn't
    serializable. read the error message carefully for a clue

    --
    Regards,
    Alvin Bruney - ASP.NET MVP

    [Shameless Author Plug]
    The Microsoft Office Web Components Black Book with .NET
    Now available @ www.lulu.com/owc, Amazon.com etc
    "Mike Larkin" <mjlarkin@hotmail.com> wrote in message
    news:1116528678.571284.215410@o13g2000cwo.googlegroups.com...
    >I am attempting to store my session state via SQL Server...however, one
    > of my dataset is generating the following error:
    >
    > 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'.
    >
    > I have other datasets that serialize fine. What's the deal? Is there
    > a size limit? (The other datasets are smaller)
    >
    > --Thanks!
    >




+ Reply to Thread

Similar Threads

  1. Unable to serialize the session state
    By Application Development in forum DOTNET
    Replies: 3
    Last Post: 11-09-2007, 03:46 AM
  2. Session state : SQLServer permissions
    By Application Development in forum DOTNET
    Replies: 5
    Last Post: 09-14-2007, 02:36 AM
  3. Session State Mode Comparison
    By Application Development in forum DOTNET
    Replies: 4
    Last Post: 08-21-2007, 10:47 PM
  4. Unable to serialize the session state.
    By Application Development in forum DOTNET
    Replies: 2
    Last Post: 08-08-2007, 09:00 AM
  5. Replies: 0
    Last Post: 04-21-2004, 06:54 AM