Code Fix: An error occurs in the database when running a sync on a SharePoint 2013 environment
KB003102
PRODUCT
Issue Description
When running a sync (using the SyncEngine) on a SharePoint 2013 environment an error occurs in the database. This occurred after adding a group (with many users in the group) and then running the sync.
Error Message
The following error is visible in the [SyncEngine].[RunHistory] table in the AdditionalInfo column: “Invalid Request. The request XML is too complex”.
Cause
SharePoint 2013 uses CSOM calls that have a limitation when building the XML.
Resolution
- Ensure you have K2 Five (5.3) installed.
- Download the K2 Five (5.3) FP1 from K2 Partner and Customer Portal.
- Install the K2 Five (5.3) FP1 to apply the fix.
- Run the sync again.