0 Replies Latest reply on Apr 18, 2011 1:21 PM by user633278

    Oracle State Session Store throws an Unhandled Exception with Xml

      I wish to use the Oracle.Net Session Store to store a value to session. The value or object if you prefer is marked as serializable in order to be placed within the store.

      Unfortunately, when running the code I get an unhandled exception error being displayed to the screen. The code itself does not fail at any point in debug. The actual error message in full is "An unhandled exception occurred 'Type 'System.Xml.XmlDocument' in Assembley 'System.Xml, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable"

      Now, we have xml fields in our classes, and we have tried all sorts things, but I would like to know whether there is a far simpler way of saving xml documents to session when using Oracle.Net Session Store. We have also tried saving sessions using the ASP.Net State Server and hit exactly the same error.

      Does anyone have any good ideas/solutions?