Symptoms

POA was updated to version 5.5. There are a few tasks to install MPFProviderClients package which are failing after the upgrade:

Task name       Install other-MPFProviderClients-5.5.7 (pkg_id = 3286) on ssl.hosting.local (host_id = 28)
Last execution output

Command 'cmd.exe /C "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exe" SPSProviderClient.dll /unregister' execution failed with code 100: RegAsm : error RA0000 : Unable to locate input assembly 'SPSProviderClient.dll' or one of its dependencies.
|STDOUT Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.4927
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

OR

Command 'cmd.exe /C "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exe" SPSProviderClient.dll /unregister' execution failed with code 100: RegAsm : error RA0000 : An error occurred inside the user defined Register/Unregister functions: System.IO.FileNotFoundException: Could not load file or assembly 'ManagedCommonMPFLib, Version=5.3.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'ManagedCommonMPFLib, Version=5.3.1.0, Culture=neutral, PublicKeyToken=null' at SPSProviderClient4.SPSProviderAgent4.unregisterCOM(Type t)

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].

|STDOUT Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.4016
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Cause

Corresponding DLL (SPSProviderClient.dll or ManagedCommonMPFLib.dll) was removed from C:\Program Files (x86)\SWsoft\PEM\MPF Provider Clients on the host manually.

Resolution

For first case:

  1. Search for the mentioned file in C:\Program Files (x86)\SWsoft\PEM\MPF Provider Clients directory.

  2. In directory C:\Program Files (x86)\SWsoft\PEM\MPF Provider Clients copy file SPSProviderClient4.dll to SPSProviderClient.dll and rerun the task.

For second case:

  1. Copy file ManagedCommonMPFLib.dll from another Windows server with the same architecture (32/64 bit) with the same version installed to C:\Program Files (x86)\SWsoft\PEM\MPF Provider Clients.
  2. Rerun task.

NOTE: Prior to task execution file should be there. After task execution it presumed to be removed because SPSProviderClient.dll is not needed anymore.

Internal content

Link on internal Article