Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.
Endpoint Virtualization Community Blog

New zip library in SWV 6.1 means new, easier to understand, error codes

Created: 06 May 2009 • Updated: 29 Jul 2010
Jordan's picture
+3 3 Votes
Login to vote

With SWV 6.1 we replaced the old zip library with Chilkat Compression and with the new zip library we now have new error codes for import and export.  Those that are familiar with the SDK and coding will recognize some of these error codes--though some of the names have changed-- and so instead of getting the ominous Error Code 18 you will get one of the following:

1009     FSL2_ERROR_ARCHIVE_CREATE
1010     FSL2_ERROR_ARCHIVE_EXTRACT
1011     FSL2_ERROR_INVALID_ARCHIVE
1060     FSL2_ERROR_MULTIPLE_LAYERS_SAME_NAME
1095     FSL2_ERROR_CHILKAT_ZIP_OPEN

An error 1009 can be caused because of a zip error or because SWV is trying to export to a vsa that already exists without passing in the overwrite flag (API and SWVcmd) while a 1060 error is you're trying to import a layer that already exists (same GUID).  A 1010 and 1095 errors would be a zip error (not aware of any other instances where this would come up) and a 1011 error means you're trying to import in something that doesn't exist or isn't a VSA.

For SWVadmin and SWVcmd users you should get an error message telling you what the problem is.  Something we're working on is better error messages returned to a SVSadmin or SVScmd user, we've got some that are very cryptic, which you should see with all new features and eventually all older features will have new messages written.

A few other new error codes are below, you may not hit these often.

1056   FSL2_ERROR_ZIP_DLL_NOT_LOADED
1059   FSL2_ERROR_UNSUPPORTED_VERSION
1094   FSL2_ERROR_CHILKAT_NOT_UNLOCKED