Link to home
Start Free TrialLog in
Avatar of julianchicago2
julianchicago2

asked on

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state ???

I have tried to change the IIS Server State Managment Configuration Settings and I am still having problems.
This is VWD 2005 Express Edition. IIS 6.0


Server Error in '/asp.netwebadminfiles' Application.
--------------------------------------------------------------------------------

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

ASKER CERTIFIED SOLUTION
Avatar of TornadoV
TornadoV
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of julianchicago2
julianchicago2

ASKER

Nothing has being stored. I am not passing a string this is the contents of my web.config file?
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <connectionStrings>
  <add name="FFIncCMDBConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\App_Data\FFIncCMDB.mdb"
   providerName="System.Data.OleDb" />
 </connectionStrings>
 <system.web>
  <customErrors mode="On" />
  <sessionState mode="InProc" cookieless="UseDeviceProfile" />
  <compilation debug="true"/></system.web>
</configuration>

What should be the session state?? I do not know why I having this type of error???