Posts

Showing posts from October, 2011

SqlCeException was unhandled. The operating system does not support the encryption mode provided.

Image
SqlCeException was unhandled
The operating system does not support the encryption mode provided.

The environment is:
Windows 7 Home PremiumVisual 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.