Problem windows XP & 7

I used SDF file in c# in windows application. Program works in windows 7 Correctly

,but when I bring Program in windows XP , program send an error and can't read sdf file.

If sdf file is build in windows xp ,program works correctly in win xp And again it can't work correctly in windows 7.

Can I work in both windows 7 & XP with one sdf file?

I have a builder . It builds me a data base.

1 answer

Feels you are not using the same SQL CE version on XP and 7 machines right? Check the SQL CE engine versions on respective computer.