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:
Search for the mentioned file in
C:\Program Files (x86)\SWsoft\PEM\MPF Provider Clients
directory.- In directory
C:\Program Files (x86)\SWsoft\PEM\MPF Provider Clients
copy fileSPSProviderClient4.dll
toSPSProviderClient.dll
and rerun the task.
For second case:
- 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
. - 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.