Error after applying individual FTF via a share drive

  • 7023022
  • 29-May-2018
  • 29-May-2018

Environment

ZENworks Configuration Management 2017

Situation

After applying a dll or exe replacement for any ZENworks agent binary, error occurs on agent restart.

ERROR (in zmd-messages.log)

[Assembly.LoadFrom(C:\Program Files (x86)\Novell\ZENworks\bin\modules\filename.dll) threw exception during module loading
Type: System.IO.FileLoadException
Message: Could not load file or assembly 'file:///C:\Program Files (x86)\Novell\ZENworks\bin\modules\filename.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Resolution

Unblock the exe or dll by right click / properties / security / Unblock.  Restart the ZENworks Agent Service.


Cause

The problem is unrelated to the actual patch.  Windows may block any dll or exe when copied remotely via a share.  This won't happen using bundle method to install the FTF.