Friday, January 29, 2010

IIS 7.5 (Windows Server 2008 R2) and SQL Compact issue

“SqlCeException: The operating system does not support the Encryption Mode provided” or "You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server."

This error is thrown by the SQL Server Compact replication agent (sscesa35.dll), because of increased security settings in IIS 7.5, the version of Internet Information Services included in Windows Server 2008 R2 and Win 7 – luckily a solution is available.

UPDATE 29/1 2010: This problem (and solution) also applies to Windows 7, which also includes IIS 7.5

No comments: