Exception "SterlingDatabaseNotFoundException" when restoring the database

Jun 9, 2011 at 8:56 PM

Hi there, I have finally got to the stage where I want to export the database from my desktop and embed it into my WP7 app.

Whenever I try to restore it, i get SterlingDatabaseNotFoundException ?


I'd be grateful for any guidance!  For some reason I keep getting stumped!




Jun 9, 2011 at 11:48 PM

The most common issue here is that Sterling stores types based on the assembly qualified name. If you created your types in a .NET assembly, exported it, then had the types linked to a Phone assembly, the assembly has a different siganture so technically the types are different and it causes an issue. The easiest thing to do is build a Silverlight 3 library for the types because that can be shared by the desktop and the phone, and then you should be fine.