This is a migrated thread and some comments may be shown as answers.

SaveToStorage() Failing

1 Answer 47 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 2
Scott asked on 02 Oct 2014, 03:22 PM
We've upgraded Silverlight 5.

Now we can't seem to save the order of our columns when someone rearranges them.

The error we receive is a FileNotFoundException:

Could not load file or assembly 'System.Xml.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bk3856ad364e35' or one of its dependencies. The system cannot find the file specified.

(Screenshot attached)

I've referenced System.Xml.Serialization, but its version is 5.0.5.0, not 2.0.5.0.

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 06 Oct 2014, 02:18 PM
Hi Scott,
Here I'll paste my answer from the support thread so that other users with similar problems may read it:
"The problem is that our Silverlight assemblies from the 2011.3.1116.1040 release are built against SL 4. Furthermore the Persistence dll has a reference to System.Xml.Serialization version 2.0.5.0 but SL 5 uses System.Xml.Serialization with version 5.0.5.0 and that's why when you use the persistence and it tries to load the 2.0.5.0 dll it throws an exception.
To fix this issue you'll have to update your telerik dlls - our first release with SL 5 support is Q1 2012 and in it the Persistence dll is using the new System.Xml.Serialization dll."

I hope I was able to help you and if you have more questions please feel free to ask.

Regards,
Zarko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PersistenceFramework
Asked by
Scott
Top achievements
Rank 2
Answers by
Zarko
Telerik team
Share this question
or