AI OnAI Off
This is a known bug in our system:
Bug 50566: String fragments are not serializable which may cause failure on serialization of PageData objects
It has been fixed in CMS 6 R2 release.
Hi!
The exception message seems to deal with EPiServer CMS 5 so it's probably not the bug Tobias assumed. The exception states that there are built in properties that are not serializable. I don't know if this is the case but perhaps you could solve this by not serializing an entire PageData-object. Perhaps store a PageReference instead?
Regards
Linus Ekström
Hi, I am getting the following error on my search results page.
Type 'EPiServer.SpecializedProperties.PropertyXhtmlString+UrlString' in Assembly 'EPiServer, Version=5.1.422.4, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' is not marked as serializable.
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.Runtime.Serialization.SerializationException: Type 'EPiServer.SpecializedProperties.PropertyXhtmlString+UrlString' in Assembly 'EPiServer, Version=5.1.422.4, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' is not marked as serializable.
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:
I am using episerver index searching. I cannot figure out what the problem. Can anyone shed some light on this.
Thank you.
Ramesh