ZCM 11.2 Copy file(s) action and other actions may fail when accessing a network location using DAU

  • 7005472
  • 27-Apr-2012
  • 11-Apr-2013


Novell ZENworks 11 Configuration Management Support Pack 2 - ZCM 11 SP2 Bundles


  • Bundle contains Copy file(s) action
  • Source is from a network location
  • DAU (Dynamic Administrative User) is being used
  • Network Credentials are being read from the Credential Vault

Also seen with MSI or other actions requiring share access for DAU using credential vault.

Action fails


This is fixed in version 11.2.3a - see KB 7011295 "ZENworks Configuration Management 11.2.3a - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7011295
Note:  The fix is for when the request for credential occurred during partial refresh and the error was thrown improperly.
If the server is unavailable for other reasons, this error will occur due to the inability of the agent to connect to the primary to get the credentials.   ZCM client does not cache the credentials for security reasons, so server must be available for connection.  In 11.2.3a and later the latter case will result in this error:  "Could not find the directory" followed by the share name.

Additional Information

extract from zmd-messages.log

[DEBUG] [04/16/2012 17:34:42.546] [1092] [ZenworksWindowsService] [13] []
[CrendentialsService] [] [Getting finished getting info from server] [] []
 [DEBUG] [04/16/2012 17:34:42.936] [1092] [ZenworksWindowsService] [13] []
[WNetConnection::WNetAddConnection] [] [Message = The operation completed
retry = 1] [] []
 [DEBUG] [04/16/2012 17:34:42.952] [1092] [ZenworksWindowsService] [13] []
[MethodInvoker] [] [Could not run method 'Boolean
WNetAddConnection(Novell.Zenworks.Zmd.Session, System.String(),
System.String)': Exception has been thrown by the target of an invocation.] []
 [DEBUG] [04/16/2012 17:34:42.967] [1092] [ZenworksWindowsService] [13] []
[ActionManager] [] [Unexpected exception processing action Copy Directory
(handler Novell.Zenworks.ActionManager.GenericActions.CopyDirectory): Object
reference not set to an instance of an object.
context, String() dirPaths, String CredentialsVaultID, String ImpersonateCopy,
Boolean open)
context, ClientAction action, ActionProgress progress)
   at Novell.Zenworks.ActionManager.ActionManager.ProcessAction(ActionContext
context, ClientAction action) ] [] []
 [ERROR] [04/16/2012 17:34:42.967] [1092] [ZenworksWindowsService] [13] []
[ActionManager] [ActionMan.HandlerException] [The handler
Novell.Zenworks.ActionManager.GenericActions.CopyDirectory threw the following
exception: Object reference not set to an instance of an object.] [] [null]
 [DEBUG] [04/16/2012 17:34:42.983] [1092] [ZenworksWindowsService] [13] []
[ActionManUtil] [] [DestroyDauSession countdown reset to 500000 milliseconds
for session 348605] [] []