Some reports fail if SessionState is not InProc
Environment: Windows 2008, SQL Server 2008, Gemini 3.1.1 (Build 2212). All latest patches applied.
When I configured my Gemini server, I followed the advice of the install guide and changed sessionState to use SQLServer. All testing had been going OK until I tried running reports. A couple reports were fine, but others showed no data, or various errors. The same problems occur whether using SQL Server, or the out-of-process StateServer. Setting SessionState back to InProc allows everything to work properly.
So, is this a known issue with using sessionState other than InProc?
The errors that occur are such as this:
An error has occured while processing Chart 'chart1':
Object reference not set to an instance of an object.
And on the IssueAgeReport this one:
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.
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.
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:
[InvalidOperationException: Type 'CounterSoft.Gemini.Commons.IssueCommentEN[], CounterSoft.Gemini.Commons, Version=3.1.1.2212, Culture=neutral, PublicKeyToken=0e17ff0349390ca9' does not implement IXmlSerializable interface therefore can not proceed with serialization.] System.Data.XmlDataTreeWriter.XmlDataRowWriter(DataRow row, String encodedTableName) +2776 System.Data.XmlDataTreeWriter.SaveDiffgramData(XmlWriter xw, Hashtable rowsOrder) +551 System.Data.NewDiffgramGen.Save(XmlWriter xmlw, DataTable table) +212 ...
acasey
· 1 |
|
Wednesday, February 4, 2009, 10:53:11 PM |