Hello All,
I registered my plug-in to Production Organization and having below issue even after I registered Microsoft.SharePoint.Client DLL to production server GAC. Is there any additional steps do i need to configure . Any help would be greatly appreciated. Thank You.
Error: Inner Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Plugin Trace:
SharePoint_Title: DHHS.CM.SharePoint_Title.Title]
[7dc3b94b-7738-ea11-81a3-0ee8306a0a7a: DHHS.CM.SharePoint_Title.Title: ca_SharePoint_Title of any Entity]
AddToQueue: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at SharePoint_Title.Title.validate_doc(Entity ent, String documentName, String Title)
at SharePoint_Title.Title.Execute(IServiceProvider serviceProvider)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Error Message:
Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: An error occurred in the SharePoint_Title. plug-in.
at SharePoint_Title.Title.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Asynchronous.EventOperation.InvokePlugin(AsyncExecutionContext context, IPlugin pluginInstance)
Inner Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at SharePoint_Title.Title.validate_doc(Entity ent, String documentName, String Title)
at SharePoint_Title.Title.Execute(IServiceProvider serviceProvider)
Hello,
I would recommend to use ILMerge to merge your assemblies into one - nishantrana.me/.../
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Muhammad Shahzad Sh...
106
Most Valuable Professional
Eugen Podkorytov
102