尝试将 Ms crm 2015 在线集成到 ms Outlook 时出现错误

While trying to integrate Ms crm 2015 online to ms Outlook I get an error

在尝试将我的 outlook 与我的在线 crm 2015 集成时出现此错误:

There is a problem communicating with the Microsoft Dynamics CRM server. The server might be unavailable. Try again later. If the problem persists, contact your system administrator.

我在 CRM 社区论坛 here 上找到了这个 post。

尝试卸载插件探查器。

The link says this >>

so, I got to the bottom of it (sort of). I ended up looking at the SDF files on my local client and taking the following steps:

1) I dropped the constraint on EntityClientStatistics on the SDF file. (yes, I know this is unsupported, but bear with me).

2) I re-ran the configuration.

3) Once completed, I queried the EntityClientStatistics table looking for the duplicate entity id that was causing my problem.

4) once I found that EntityID, I went to my Organization database on my CRM Database Server and found the entity that was causing the issue. for some reason that entity had duplicated versions of its forms.

5) I deleted that entity and recreated it.

6) I then deleted the SDF files on the client machine.

7) Once those files were deleted, I re-ran the configuration wizard and it worked perfectly fine.

or the alternative way is :

  1. Download SQL Server Compact Toolbox for runtime 3.5
    1. Drop table MetadataSchema.EntityClientStatistics,Constraint name = PK__MetadataSchema.EntityClientStatistics__000000000000071C
    2. Try again.