Unable to deliver bundle because of InvalidKeyException

  • 7000261
  • 30-Apr-2008
  • 27-Apr-2012


Novell ZENworks 10 Configuration Management


Unable to deliver bundle because of InvalidKeyException
ERROR: [DEBUG] [2/27/2008 3:18:44 PM] [] [ActionMan] [] [Exception type:novell.Zenworks.ZenGlob.Exceptions.InvalidKeyException]


This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support
The Update Cache function now provides both the initial patch download, as well as an ability to re-cache any existing patch download. This allows you to replace the content of any existing patch bundle that might have been corrupted due to system or environmental problems, such as internal ZENworks Server problems, truncated file downloads from the Internet, and so on.
Steps to follow to get your bundle to be deleted:
1. Run zman database-get-credentials or "zman dgc"
2. Get GUID of the bundle. For example on my machine, 7d6316a438abbec6e8a15ec6a1decf7c. Go to the Properties of the corrupted bundle
and copy the UID
3. Linux, From File Browser go to /opt/novell/zenworks/share/sybase/bin32s launch dbisql which will launch the GUI tool.
Windows, From Explorer go to \Program Files\Novell\ZENworks\share\ASA\win32, launch dbisql which will launch the GUI tool.
4. login to the tool using the credentials gathered from the zman dgc command
5. You may need to run the query "select * from zZENObject" to gather the correct name of the column in the database, to verify the case sensitivity of the name.
6. Run the query
    "UPDATE zZENObject SET Undeletable=0 WHERE UID=0x00000000000000000000000000000000"
7. The Undeletable flag should be "0" and you should be able to delete the bundle in ZCC.
8. Re-cache patch