首页 > 技术文章 > Dynamics CRM 2015-Data Encryption激活报错

yobyron 2016-11-07 15:03 原文

      在CRM的日常开发中,Data Encryption经常是不得不开启的一个功能。但是有时,我们可能遇到一种情况,Organization导入之后,查看Data Encryption是已激活的状态,但是Key却是空的,导致我们不能激活。笔者碰到过类似的情况,当时用的解决方法是清空激活的Key,然后从新激活,具体的操作是在SQL中执行如下的语句:

      use ***_MSCRM

       update [EmailServerProfileBase] set IncomingPassword=null;

       update EmailServerProfileBase set OutgoingPassword =null;

       update MailboxBase set Password=null;

       update QueueBase set EmailPassword=null;

       update UserSettingsBase set EmailPassword=null

       这个操作同时也清空了Email配置,所以执行之后,还需要从新配置下Email。

推荐阅读