Hi,
we have integration between sharepoint 2013 and CRM 2016,recently after we ugraded CRM to version 8.2.3 as recommended by MS,getting sharepoint dll issue for custom plugin
Error log:
Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71b9bce111d1119d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Plugin Trace:
[Orga.SharePoint: Orga.SharePoint.WorkflowActivities.CreateSharePointFolderActivity]
[Orga.SharePoint (1.0.0.0): Orga.SharePoint.WorkflowActivities.CreateSharePointFolderActivity]
Organization Unit
Create Folder For Profile - Start
Error Message:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71b9bce111d1119d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Orga.SharePoint.Repositories.SharePointRepository..ctor(String serverUrl, NetworkCredential credentials)
at Orga.SharePoint.Services.SharePointService.CreateFolderForProfile(Guid entityId, ITracingService tracingService)
at Orga.SharePoint.WorkflowActivities.CreateSharePointFolderActivity.Execute(CodeActivityContext executionContext)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)