anupam kant
August 25th, 2005, 12:11 PM
Hi,
I am getting very strange situation on our production server; the users are getting this
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'.
error every now and then the error is not reproducible; means it occurs in any scenario randomly. Here are a few things about my application
1. We are using state server for session
2. We are also using heavy crystal reports in this applications
3. I checked every class that we are storing in session they are properly made serializable thru attrubute.
4. There is no ado.net connection instance in any of the classes.
5. If I cleanup winnt\temp folder and restart IIS then this error does not occur for at least one day.
6. there is no event log entry for this error in windows event viewer
Server environment is
WIN 2K SP4, Xeon, 3.06 GHz, 2 GB RAM 100 GB HDD
Please help
I am getting very strange situation on our production server; the users are getting this
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'.
error every now and then the error is not reproducible; means it occurs in any scenario randomly. Here are a few things about my application
1. We are using state server for session
2. We are also using heavy crystal reports in this applications
3. I checked every class that we are storing in session they are properly made serializable thru attrubute.
4. There is no ado.net connection instance in any of the classes.
5. If I cleanup winnt\temp folder and restart IIS then this error does not occur for at least one day.
6. there is no event log entry for this error in windows event viewer
Server environment is
WIN 2K SP4, Xeon, 3.06 GHz, 2 GB RAM 100 GB HDD
Please help