SqlCeException was unhandled. The operating system does not support the encryption mode provided.
SqlCeException was unhandled The operating system does not support the encryption mode provided. The environment is: Windows 7 Home Premium Visual Studio 2008 .Net Framework v3.5, SQL Compact v3.5 If ever you get this message on your PocketPc project when you are opening the connection, it is most likely because your database is encrypted with a password. Just remove the password (which will decrypt the database), save it back and run your code. It should now go through fine.