Errors encountered during Vault project management commands are reported in two ways.
If a single error is encountered during a project management operation, it is displayed in a message box. If multiple errors occur during a single operation, the resulting Vault error codes are displayed in the Event Viewer. For example, if a drawing check-in operation fails, and then subsequent check-ins of dependent files also fail, the error codes for the related multiple failures are displayed in the Event Viewer.
The following table lists the Vault error codes that can be displayed if a project management command fails:
| Group Code/Error Code | Error Description |
|---|---|
| SysErrCodes | |
| 0 | Error code is not valid or is unspecified. |
| CoreErrCodes | |
| 100 | Error creating the knowledge vault in database. |
| 101 | Script to prime the database with its schema failed. |
| 102 | Knowledge vault already exists in database. |
| 103 | Attempt to create user in database failed. |
| 104 | Error adding user role in database. |
| 105 | Error removing user role in database. |
| 106 | Error validating the principal as being a secure principal (i.e. authenticated). |
| 107 | Principle requirement does not match. Should be anonymous. |
| 108 | Requires new transaction, but transaction was not created. |
| 109 | Error initializing knowledge vault in database. |
| 110 | Stored procedure cannot be found. |
| 111 | Error getting relative resource path. |
| 112 | File stream is null, so the crc code can't be calculated |
| 113 | File is not readable, so the crc code can't be calculated |
| 114 | Could not create (Knowledge)VaultMaster Database |
| 115 | Could not create (Knowledge)VaultMaster Database schema |
| 116 | Could not initialize (Knowledge)VaultMaster Database tables |
| 117 | Failure during migrate of a KnowledgeVault |
| 118 | Failure creating VultSys user for the DB |
| 119 | Failure during migrate of KnowledgeVaultMaster |
| 120 | Failure updating the KnowledgeVaultMaster stored procedures |
| 121 | Failure deleting the KnowledgeVaultMaster |
| 122 | Failure updating user information |
| 123 | Could not update EIDatabase table |
| 124 | Failure moving the file store |
| 125 | Failure attaching a database |
| 126 | Failure detaching a database |
| 127 | Failure deleting a Vault |
| 128 | Failure backing up |
| 129 | Failure restoring |
| 130 | Unable to determine the version of a KnowledgeVault or Master |
| 131 | The database master login is invalid |
| 132 | The directory is not empty |
| 133 | The Knowledge Vault referenced doesn't exist |
| 134 | There are Knowledge Vaults still attached. |
| 135 | Failure activating a vault |
| 136 | Failure deactivating vault. DB is probably in use |
| 137 | One of the inputs to the service call is incorrect. |
| 138 | Vault name is not allowed, most likely due to illegal characters. |
| 139 | Specified folder is illegal. |
| 140 | Specified folder is already in use. |
| 141 | Could not find global option. |
| 142 | Could not find local option. |
| 143 | Duplicate User Name |
| 144 | Database error because an MDF or LDF file with that name already exists. |
| 145 | Database is in use |
| 146 | Cannot determine the migration steps. |
| 147 | The specified path is too long. |
| 148 | Incorrect vault category Id entered |
| 149 | The vault's category does not support the operation. |
| 150 | The KnowledgeVaultMaster referenced doesn't exist |
| 151 | Not enough disk space to perform Backup/Restore operation. |
| 152 | Cannot restore db files to a remote location |
| 153 | Selected directory does not contain a valid backup structure. |
| SecurityErrCodes | |
| 300 | Authentication Token is invalid. |
| 301 | User name and/or Password is invalid, so user cannot be authenticated. |
| 302 | User is not a member of the vault |
| 303 | Invalid permissions for transaction |
| 304 | User is disabled |
| 305 | Vault database does not exist |
| DocServiceErrCodes | |
| 1000 | Folder id is invalid. |
| 1001 | Cannot get the latest version of file. |
| 1002 | Cannot get file version. |
| 1003 | File id is invalid. |
| 1004 | Checkout latest file version failed. |
| 1005 | Error checking in file version into database. |
| 1006 | Error undoing check out of file version. |
| 1007 | Bad version id when getting file version dependents or dependencies by version id. |
| 1008 | Cannot add file because file exists. |
| 1009 | Cannot add file (unspecified failure) |
| 1011 | Cannot add folder because folder exists. |
| 1012 | Cannot add folder (unable to create/make new folder). |
| 1013 | Cannot get file (file id is invalid). |
| 1014 | Cannot create/make version in database. |
| 1015 | Cannot delete file version because of dependencies. |
| 1016 | Cannot undo checkout because user is not the same as user who checked out file. |
| 1017 | Cannot undo checkout because passed in folder id is not the same folder that the file was checked out from. |
| 1018 | Cannot check in file because the file is not currently checked out |
| 1019 | Cannot check in file because the file is not currently checked out by the same user. |
| 1020 | Cannot check in file because passed in folder id is not the same folder that the file was checked out from. |
| 1021 | Cannot check out the file because it is already checked out. |
| 1022 | Circular dependency check failed. |
| 1023 | Cannot create folder in database. |
| 1024 | Cannot get folder. |
| 1025 | Cannot get root folder from the database. |
| 1026 | File belongs to a library folder. |
| 1027 | Folder is a library folder. |
| 1028 | Cannot move file. |
| 1029 | A file exists in the destination folder that has the same name as the file that is being moved from its source folder. |
| 1030 | Cannot share because a file already exists in the destination folder with the same name. |
| 1034 | Cannot rename the file because there was some other unexpected error. |
| 1035 | Could not create property definition in database. |
| 1036 | Cannot get all property definitions. |
| 1037 | Cannot get all extended property definitions. |
| 1039 | Property could not be added in database. |
| 1040 | Big property could not be added in database |
| 1041 | Cannot get properties |
| 1042 | Create folder rule-check failed: parent must exist, for all but root |
| 1043 | Create folder rule-check failed: libs can only have non lib parent if that parent is root. Libs cannot have non-lib children. |
| 1044 | Request to share a file to a folder fails because of a concurrent request to share the file to the same folder. |
| 1045 | Request to move a file to a folder fails because of a concurrent request to move the file to the same folder or because of a concurrent request to move the file to another folder |
| 1046 | Request to create a folder fails because the folder name is longer that 80 characters. |
| 1050 | Request to conditionally delete a file fails because there are delete restrictions (file has dependent parent files, file is checked out, or file is linked or attached to an item) |
| 1051 | Request to unconditionally delete a file fails because the are delete restrictions that cannot be overridden (file is linked or attached to an item) |
| 1052 | Request to delete a file failed for an unspecified reason. |
| 1053 | Request to conditionally delete a folder fails because there are delete restrictions on one or more child files (file has dependent parent files, file is checked out, or file is linked or attached to an item) |
| 1054 | Request to unconditionally delete a folder fails because the are delete restrictions that cannot be overridden on one or more child files (file is linked or attached to an item) |
| 1055 | Request to delete a folder fails due to an unspecified reason |
| 1056 | Occurs when either no parameters have been set and a purge is attempted or when an attempt is made set invalid parameter values. |
| 1057 | Occurs when something goes wrong while purging file iterations from the database, or while deleting files from the file store |
| 1058 | If the Unique File Name Required Vault option is ON, a request to Add or Check in a file with the same name as a file already existing in the Vault will fail with this error. |
| 1059 | Occurs when an attempt to update a Folder fails for an unspecified reason. |
| 1060 | Occurs when an attempt to update a Folder Name fails because another Folder with that name exists in the parent. |
| 1061 | Label ID is invalid |
| 1062 | Label Name contains invalid characters |
| 1063 | Label Name already exists in vault |
| 1064 | Cannot create label in database. |
| 1065 | |
| 1066 | No PropertyGroup with the given Id exists |
| 1067 | A PropertyGroup with the specified name already exists. |
| 1068 | The PropertyDefinitions to be assigned to the PropertyGroup do not share the same DataType. |
| 1069 | The PropertyGroup must be assigned PropertyDefinitions |
| 1070 | Request to add a PropertyGroup failed for an unspecified reason |
| 1071 | Request to update a PropertyGroup failed for an unspecified reason. |
| 1072 | Request to delete a PropertyGroup failed for an unspecified reason. |
| 1073 | An unknown error occurred. |
| 1074 | Folder with the same name already exists in the destination folder |
| 1075 | Folder being moved has descendent files that are checked out. |
| 1076 | Move folder rule-check failed: parent must exist, for all but root |
| 1077 | Move folder rule-check failed: libs can only have non lib parent if that parent is root. Libs cannot have non-lib children. |
| 1078 | A null path or path with illegal characters has been passed in. |
| 1079 | The full path of the folder is greater than 256 characters |
| 1080 | A null value has been passed in where null values are not allowed. |
| 1081 | The date is out of range for the DB.The date should be between 1-1-1753 and 12-31-9999 |
| SerializeErrCodes | |
| 1200 | Exception passed to Encodable Exception saying the object is null |