Worlds Local Yank
Worlds Local Yank

Reputation: 59

SQL Server CE 3.5 compatibility

I have a C# .Net 3.5 application using SQL Server Compact Edition 3.5 as the database.

I can xcopy deploy and run the application on a laptop running Windows Vista.

However, if I copy the same set of files onto a machine running Windows 7 or 8, I get a Target of Invocation... error.

Does anyone know if SQL Server CE 3.5 is compatible with Windows 7 or 8?

If not, is SQL Server CE 4.0? (And if I do need SQL Server CE 4.0 will I still be able to use .net 3.5?)

Is there a chart somewhere that says what versions of SQL Server CE are compatible/required for the different operating systems?

Many thanks in advance.

Steve

Upvotes: 0

Views: 2197

Answers (1)

ErikEJ
ErikEJ

Reputation: 41749

Yes, both SQL Server Compact 3.5 SP2 and 4.0 are compatible with Windows 7 and 8. I have a chart here: http://erikej.blogspot.dk/2010/11/sql-server-compact-private-deployment.html

I sounds like you are facing issues with x86 vs AMD64 platforms, do you include both set of dll files? And of course, all included SQL Server Compact files must have exact same file version.

Upvotes: 2

Related Questions