Video Screencast Help

SWV Error Codes

Created: 11 May 2010 • Updated: 29 Jul 2010 • 16 comments
Jordan's picture
+3 3 Votes
Login to vote

Ask and you shall recieve.  Here's a current list if all our error codes with the new SWV features listed first.

FSL2_ERROR_SUCCESS      0

VZ_ERR_ZIP_COMPRESS   5000 //Error during attempt to create virtual patch archive file.
VZ_ERR_ZIP_EXTRACT   5001 //Error during attempt to extract virtual patch archive file.
VZ_ERROR_READLINE_FILE  5002 //Error during attempt to read information from VPA meta file.
VZ_ERROR_WRITE_FILE   5003 //Error during attempt to write meta information to temporary VPA archive area.
VZ_ERROR_CREATE_DIFF  5004 //Error during attempt to create binary diff file between source and target file.
VZ_ERROR_SEARCH_DIR   5005 //Error during attempt to traverse source layer redirect area.
VZ_ERROR_IMPORT_REG   5006 //Error during attempt to import registry settings to target layer.
VZ_ERROR_VPA_EXISTS   5007 //Error during attempt to create VPA file. File already exists.
VZ_ERROR_APPLY_DIFF   5008 //Error during attempt to apply a binary diff between source and target file.
VZ_ERROR_COPY_FILES   5009 //Error during attempt to copy files.
VZ_ERROR_DELETE_FILES  5010 //Error during attempt to delete files.
VZ_ERROR_READ_FILELIST  5011 //Error during attempt to read meta file from VPA.
VZ_ERROR_DEL_DIRPATH  5012 //Error during attempt to delete directory path.
VZ_ERROR_CREATE_DIRPATH  5013 //Error during attempt to create directory path.
VZ_ERROR_EXPORT_REG   5014 //Error during attempt to export registry from source layer.
VZ_ERROR_OPEN_FILE   5015 //Error during attempt to open file.
VZ_ERROR_COPY_LAYER   5016 //Error during attempt to copy layer.
VZ_INVALID_POINTER   5017 //Error - Invalid pointer passed to function
VZ_ERROR_SRC_LAYER_UNKNOWN 5018 //Error - Unknown Source Layer
VZ_INVALID_META_FILE_FORMAT 5019 //Error during attempt to read file meta data from archive
VZ_ERROR_DURING_COPY_DATA 5020 //error during attempt to copy data from src to dest buffer
VZ_ERROR_DELETE_DIRS  5021 //error during attempt to delete directories
VZ_ERROR_CREATE_DIRS  5022 //error during attempt to create directories
VZ_ERROR_ARCHIVE_EXISTS  5023 //Error durint attempt to overwrite existing archive.
VZ_ERROR_INVALID_LAYER_ID 5024 //Error during attempt to obtain layer ID
VZ_ERROR_INVALID_USER_SID 5025 //Error during attempt to retrieve current user SID 
VZ_ERROR_APPLY_ACLS   5026 //Error during attempt to export then apply ACLs
VZ_ERROR_DURING_MERGE_RW 5027 //Error during attempt to merge RW layer to RO layer.
VZ_ERROR_MALFORMED_DELREG 5028 //contents of DELREG.TXT is malformed.
VZ_ERROR_VAR_SUBST   5029 //Error during attempt to search and replace variable in registry
VZ_ERROR_RENAME_DIR   5030 //Error during attempt to rename a directory


  FSL2_ERROR_LAYER_ALREADY_EXISTS   1001 // was FSL2_ALREADY_EXISTS
  FSL2_ERROR_NO_SUCH_NON_PEER    1002 // was FSL2_ERROR_NO_SUCH_LAYER
  FSL2_ERROR_NO_SUCH_GROUP     1003
  FSL2_ERROR_NOT_GROUP_MEMBER    1004
  FSL2_ERROR_FILE_COPY      1005
  FSL2_ERROR_BAD_ARGS      1006
  FSL2_ERROR_OPEN       1007
  FSL2_ERROR_LAYER_DELETE     1008 // was FSL2_ERROR_DELETE
  FSL2_ERROR_ARCHIVE_CREATE    1009 // was FSL2_ERROR_STORE
  FSL2_ERROR_ARCHIVE_EXTRACT    1010 // was FSL2_ERROR_EXTRACT
  FSL2_ERROR_INVALID_ARCHIVE    1011
  FSL2_ERROR_DELETE_FILE     1012
  FSL2_ERROR_CREATE_FILE     1013
  FSL2_ERROR_GET_VERSION     1014
  FSL2_ERROR_CREATE_GROUP     1015
  FSL2_ERROR_ADD_TO_GROUP     1016
  FSL2_GROUP_ALREADY_EXISTS    1017
  FSL2_ERROR_CREATE_DIRECTORY    1018
  FSL2_ERROR_INVALID_VARIABLIZED_NAME  1019 // was FSL2_ERROR_INVALID_NAME
  FSL2_ERROR_UNSUPPORTED_PLATFORM   1020
  FSL2_ERROR_LOAD_LIBRARY     1021
  FSL2_ERROR_GET_PROC_ADDRESS    1022
  FSL2_ERROR_GET_MODULE      1023
  FSL2_ERROR_TERMINATE_PROCESS    1024
  FSL2_ERROR_OPEN_PROCESS     1025
  FSL2_ERROR_SNAPSHOT      1026
  FSL2_ERROR_DELETE_PEER     1027
  FSL2_ERROR_FLUSH       1028
  FSL2_ERROR_ENUM_PROCESSES    1029
  FSL2_ERROR_BUFFER_TOO_SMALL    1030
  FSL2_ERROR_KEY_INVALID     1031
  FSL2_ERROR_STARTING_THREAD    1032
  FSL2_ERROR_RENAME_FILE     1033 // was FSL2_ERROR_RENAME
  FSL2_ERROR_GET_ATTRS      1034
  FSL2_ERROR_SECURITY      1035
  FSL2_ERROR_IS_NOT_NTFS     1036
  FSL2_ERROR_NOMEM       1037
  FSL2_ERROR_LAYER_NAME_INVALID   1038 // was FSL2_ERROR_INVALIDNAME
  FSL2_ERROR_INVALID_OP_FOR_LAYER_STATE 1039 // was FSL2_ERROR_INVALIDSTATE
  FSL2_ERROR_LAYER_REG_OPERATION   1040 // was FSL2_ERROR_REGERROR
  FSL2_ERROR_LAYER_NOT_FOUND    1041 // was FSL2_ERROR_NOTFOUND
  FSL2_ERROR_ENUM_COMPLETE    1041 // was FSL2_ERROR_NOTFOUND
  FSL2_ERROR_WRONGVERSION     1042
  FSL2_ERROR_FILEPATH_ALREADY_EXISTS  1043 // was FSL2_ERROR_NAMEEXISTS
  FSL2_ERROR_BADHANDLE      1044
  FSL2_ERROR_BADNODE      1045
  FSL2_ERROR_NORESOURCES     1046
  FSL2_ERROR_ITEMNOTFOUND     1047
  FSL2_ERROR_NOTIMPLEMENTED    1048
  FSL2_ERROR_ALREADYACTIVE     1049
  FSL2_ERROR_FILEIOERROR     1050
  FSL2_ERROR_NOT_LOADED      1051
  FSL2_ERROR_PIDHASHANDLEOPEN    1052
  FSL2_ERROR_PIDRUNNINGFROMLAYER   1053
  FSL2_ERROR_SYSTEMHASOPENFILE    1054
  FSL2_ERROR_SYSTEM_NOT_INITIALIZED  1055
  FSL2_ERROR_ZIP_DLL_NOT_LOADED   1056
  FSL2_ERROR_MORE_DATA      1057
  FSL2_ERROR_USER_CANCELLED    1058
     FSL2_ERROR_UNSUPPORTED_VERSION          1059
     FSL2_ERROR_MULTIPLE_LAYERS_SAME_NAME 1060
//   FSL2_ERROR_GUID_NOTFOUND      1061 deprecated, use FSL2_ERROR_LAYER_NOT_FOUND
  FSL2_ERROR_STRING_CHH_FAIL    1062
  FSL2_ERROR_CREATE_PROCESS    1063
  FSL2_ERROR_COM_ERROR      1064
     FSL2_ERROR_NO_SUCH_USER     1065
  FSL2_ERROR_NOT_RUNTIME_LAYER    1066
     FSL2_ERROR_INVALID_GUID     1067
  FSL2_ERROR_LAYER_BEING_EDITED   1068
  FSL2_ERROR_LAYER_NOT_BEING_EDITED  1069
  FSL2_ERROR_UNSUPPORTED_ARCHIVE_VER  1070
  FSL2_ERROR_AN_APP_STARTUP_FAILED  1071
     FSL2_PATH_TOO_LONG      1072
  FSL2_ERROR_NO_REDIR_VOLUMES    1073
  FSL2_ERROR_METADATA_VALUE    1074
  FSL2_ERROR_NOTIFY_VALUE_NOT_FOUND  1076
  FSL2_ERROR_AEXCLIENT_NOT_FOUND   1077
  FSL2_ERROR_LAYER_ATTR_VALUE_NOT_FOUND 1078
  FSL2_ERROR_METADATA_KEY     1079
  FSL2_ERROR_LAYER_ATTR_UNDEFINED   1080
  FSL2_ERROR_NOTIFY_EVENT_UNDEFINED  1081
  FSL2_ERROR_FILEPATH_NOT_FOUND   1082
  FSL2_ERROR_KEY_ALREADY_EXISTS   1083
  FSL2_ERROR_FILE_DELETE     1084
  FSL2_ERROR_SERVICE_DELETE    1085
  FSL2_ERROR_GROUP_NAME_INVALID   1086
  FSL2_ERROR_PROCESS_NOT_FOUND   1087
  FSL2_ERROR_STRING_MB_TO_WIDE   1088
  FSL2_ERROR_DRIVER_INVALID_STATE   1089
  FSL2_ERROR_VALUE_ALREADY_EXISTS   1090
  FSL2_ERROR_NOTIFY_SERVER_NOT_ENABLED 1091
  FSL2_ERROR_ARCHIVE_NOT_RUNTIME   1092
  FSL2_ERROR_FSLLIB32_UNINITIALIZED  1093
  FSL2_ERROR_CHILKAT_NOT_UNLOCKED   1094
  FSL2_ERROR_CHILKAT_ZIP_OPEN    1095
  FSL2_ERROR_ACTIVATE_DEPENDENT   1096
  FSL2_ERROR_EXPORT_REMOVE_SIDS   1097
  FSL2_ERROR_EXPORT_ADD_BACK_SIDS   1098
  FSL2_ERROR_INVALID_METAFILE    1099
  FSL2_ERROR_PRODUCT_KEY_INVALID   2000
  FSL2_ERROR_PRODUCT_KEY_NOT_YET_VALID 2001
  FSL2_PRODUCT_KEY_VALID     2002
  FSL2_PRODUCT_KEY_WILL_EXPIRE   2003
  FSL2_ERROR_PRODUCT_KEY_EXPIRED   2004
  FSL2_ERROR_NO_PRODUCT_KEY    2005
  FSL2_ERROR_DEPRICATED     2006

Comments 16 CommentsJump to latest comment

RSnell's picture

Jordan,
I know this was requested by another user but I do appreciate the post.  Good info and extremely helpful (as most of your posts tend to be).
Rob

-6
Login to vote
FrankB's picture

This is indeed what I requested.

Remember the old list?
Are the ones not mentioned in this list still valid?

F

______________________________________________
Frank Bastiaens
Senior Technical Consultant
Vanderlet B.V.

+2
Login to vote
Jordan's picture

Yep if you're using 2.1 the old list is still valid

This list is for 6.1 + and if it's not in here then we're not using it anymore.

If a forum post solves your problem please flag is as the solution

0
Login to vote
FrankB's picture

The above stated error is specified twice, are they both valid on the same number?

F

______________________________________________
Frank Bastiaens
Senior Technical Consultant
Vanderlet B.V.

0
Login to vote
Jordan's picture

1041 is layer not found.  not sure why it's listed as enum complete.

Update:  So a few API will return 1041 as part of a success so that's why it's called both layer not found and Enum complete.  It's old legacy code that's rather silly.

The API are: 

FSL2EnumUserVariables
FSL2EnumSystemVariables
FSL2EnumDataLayerItem
FSL2EnumLayerExclude

So outside of those instances a 1041 is Layer Not Found.

If a forum post solves your problem please flag is as the solution

+1
Login to vote
FrankB's picture

1062 - Fsl2_Error_String_Chh_Fail <--- What does this mean?

And by dragging over these codes you dropped one, look under your desk, where is 1075? wink

F

______________________________________________
Frank Bastiaens
Senior Technical Consultant
Vanderlet B.V.

-2
Login to vote
Jordan's picture

there is no 1075.

Not sure what 1062 is about, it might be an error code that you can't hit very easily with the API.  It's probably supposed ot be FSL2_Error_String_Chk_Fail so some sting check failure.  I'd have to go search the source to figure out what it really is.

Some of the error codes on the list are probably internal ones, meaning you'll never hit them in the API.

If a forum post solves your problem please flag is as the solution

+2
Login to vote
clivant's picture

Hi Jordan,

Why is there a FSL2_ERROR_LOAD_LIBRARY error? Any remedies for that? 

+8
Login to vote
Jordan's picture

Many of the errors listed here are ones that you probably will never hit in general use or even with average SDK use--the load library error number is one of those.

If you're hitting it then one of the libraries you're trying to call into doesn't exist or can't be found--pretty straight forward.

If a forum post solves your problem please flag is as the solution

0
Login to vote
clivant's picture

Hmm, Could it be the case of improper installation?

+4
Login to vote
Jordan's picture

Possibly.  is this due to a custom app or just general SWV useage?

If a forum post solves your problem please flag is as the solution

+2
Login to vote
clivant's picture

Hi Jordan,

It is due to sdk usage. I am trying to use the import function to import a xpf file. Works on my own development machines but when I use the same code on my friend's, the error is thrown.

Are there any factors apart from immature installation that could have cause this error? Does hardware affects the virtualized applications? 

-2
Login to vote
AngelD's picture

Stupid question but are you and they using the same version of SWV? If no; which version(s) are you/they using?

0
Login to vote
Jordan's picture

AngelD is correct, you could be hitting this issue because your friend is using an older version.

The most common way to a 1021 error is becasue you're trying to import or export an XPF on a machine that doesn't have either the XPF dll installed or the correct version of the Visual C++ runtime installed.

If a forum post solves your problem please flag is as the solution

+2
Login to vote
clivant's picture

Hi Jordan,

I am using the same SWV version as my friend. Hmm, so I guess I should be checking whether his machine had the xpf dll installed and the Visual C++ runtime installed. Thanks for your help! :)

+6
Login to vote
AngelD's picture

Jordan: I'm getting error 5008 (VZ_ERROR_APPLY_DIFF) while trying to install a virtual patch.

Any idea?

0
Login to vote