Symptoms
SWManagedExchangeNS_2007.xml
was not changed after upgrade to 5.0 on MPS server. It leads to failed Exchange provisioning tasks, for example, the task Perform Edge Sync
may fail with the following diagnostics:
Output Exception during execution of MPF request: 'Unknown error 0xC220140E [<response><errorContext description="Resolution of execute statements failed from a procedure=main namespace=request executing procedure=PerformEdgeSync namespace=SW Managed Exchange. Check Event Viewer for additional namespace load errors." code="0xc220140e" executeSeqNo="0"/></response>]'.
Cause
The main reason of this issue is a manual editing of the SWManagedExchangeNS_2007.xml
file (and other XML files with MPF namespaces) on MPS server before upgrade.
During the MPF Custom Providers
package upgrade MSI checks that file is changed manually and skips updating this file, in MSI log this may be reflected as follows:
MSI (s) (8C:98) [04:06:16:890]: File: C:\Program Files\SWSoft\PEM\MPF Providers\SWManagedExchangeNS_2007.xml; Won't Overwrite; Won't patch; Existing file is unversioned but modified
Resolution
How to fix the problem manually:
- Connect to MPS server using RD
- Go to the
OA Agent root directory\MPF Providers
folder (by default OA Agent root directory isC:\Program Files\SWsoft\PEM
) - Rename or delete the file
SWManagedExchangeNS_2007.xml
file - Go to the
OA Agent root directory\Setup\MPFCustomProviders
folder - Run the command:
MPFProviders.exe /qr /l mpfprov.log
- File will be restored from the newest installer package
Additional information
How to check if some files were not upgraded properly:
From command prompt run:
find "Existing file is unversioned but modified" "%ProgramFiles%\SWsoft\PEM\Logs\MPFCustomProviders(v5.*.log"
- Check the output - it will contain all XML file names which were not upgraded