Summary: During the snapshot process, the following error can be observed either in the Snapshot Wizard or the event log:
System.IO.FileLoadException: Could not load file or assembly ‘Microsoft.AnalysisServices.SPAddin, Version=18.104.22.168, Culture=neutral, PublicKeyToken=89845dcd8080cc91’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)…
Application version: All versions
Make sure that SPDocKit is installed on a server where “PowerPivot for SharePoint Add-in” is also installed. According to Microsoft recommendations, “PowerPivot for SharePoint Add-in” should be installed on each SharePoint server, so it should not matter where SPDocKit is installed.
However, if for any reason you do not wish to install “PowerPivot for SharePoint Add-in” on the relevant server, then reinstall SPDocKit on a server where “PowerPivot for SharePoint Add-in” is available.
If the error still occurs, please do the following:
- Determine the correct major version [MajorVersion] of “PowerPivot for SharePoint Add-in”. You can do this by viewing the installed programs list and locating Microsoft SQL Server PowerPivot for SharePoint.
- After you have the correct version, open the SPDocKit.exe.config file. It should be located in the installation directory. By default, this is C:\Program Files\Acceleratio\SPDocKit.
- Inside the runtime tag, add the following as a child node and save the file:
<assemblyIdentity name="Microsoft.AnalysisServices.SPAddin" publicKeyToken="89845DCD8080CC91" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-[MajorVersion].0.0.0" newVersion="[MajorVersion].0.0.0" />
- Repeat the process for Acceleratio.SPDocKit.Service.exe.config if you are using automatic snapshots.
- Restart SPDocKit.
- Restart the SPDocKit service if you are using automatic snapshots.
Try to create a snapshot of your farm to confirm that there are no more errors related to PowerPivot .