Updated March 6, 2018
When you publish your packages using the Patch Manager Publishing Wizard, the following error displays:
The directory is not empty. DataPortal_Execute method failed DataPortal.Update failed
Various issues with the configuration of the WSUS server or Patch Manager server may cause this issue:
wsusutil
command.wsusutil movecontent
command, see the Microsoft TechNet article entitled, Specifying Where to Store Updates (© 2017 Microsoft, available at www.microsoft.com, obtained on January 26th, 2017)
If the content is in the store, run the wsusutil movecontent <existing path> <log file> -skipcopy
command to make sure the registry and other settings are updated without copying the content again.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.