Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Troubleshooting Exceptions: System.Data.SqlServerCe.SqlCeInvalidDatabaseFormatException

A System.Data.SqlServerCe.SqlCeInvalidDatabaseFormatException exception occurs when SQL Server Compact 3.5 opens a database file that was created in an earlier version of the product.

You can update the database file by using Visual Studio 2008 or by using the API System.Data.SqlServerCe.SqlCeEngine.Upgrade.

For more information, see SQL Server Compact 3.5 Class Library.

Community Additions

© 2015 Microsoft