1

Does Windows 8 Desktop Applications (Not Metro or Store apps) support SQL CE 3.5?

When I tried to work with SQL Server CE, I get the following error:

System.Data.SqlServerCe.SqlCeInvalidDatabaseFormatException (0x80004005): The database file has been created by an earlier version of SQL Server Compact. Please upgrade using SqlCeEngine.Upgrade() method.

Thanks in advance, Carlos

Haris Hasan
  • 29,856
  • 10
  • 92
  • 122
Rahnzo
  • 737
  • 2
  • 7
  • 20

1 Answers1

2

Windows 8 supports SQL Server CE. You have a different problem. You are trying to use older version of database file while you have a newer version of SQL Server CE

Follow this question

Community
  • 1
  • 1
Haris Hasan
  • 29,856
  • 10
  • 92
  • 122
  • Thank you! I change the reference to the SQLServerCE.dll 4.0 to the dll of the 3.5 version and its works! Thanks so much! :D – Rahnzo Jan 15 '13 at 15:43