Errors and Questions in IVSS
There are two kinds of errors that can occur during the running of a Visual SourceSafe command: errors and yes/no questions. Errors may be returned to the caller as indications that a function call failed. Questions are answered by default; your calling application never even knows the question happened.
Errors
The following is a list of all the errors that are returned by Visual SourceSafe Automation. The first column contains recommended names for returned numerical values. These names were used with the previous versions of the Visual SourceSafe Automation. However, you are free to use any names you like defined as constants or enumerators.
Name | Numerical Value | English String |
---|---|---|
ESS_CORRUPT |
-10600 |
File %s may be corrupt |
ESS_DT_BADDATESTR |
-10159 |
Invalid date string: "%s" |
ESS_DT_INVALID |
-10161 |
Invalid time or date string |
ESS_NOMORE_HANDLES |
-10164 |
Too many file handles open. |
ESS_FILE_ACCESSDENIED |
-10165 |
Access to file "%s" denied |
ESS_FILE_BADDRIVE |
-10166 |
Invalid drive: %s |
ESS_FILE_BADHANDLE |
-10167 |
Invalid handle. |
ESS_FILE_BADNAME |
-10168 |
Invalid filename: "%s" |
ESS_FILE_BADPARAM |
-10170 |
Invalid access code (bad parameter) |
ESS_FILE_BADPATH |
-10171 |
Invalid DOS path: %s |
ESS_FILE_CURRENTDIR |
-10172 |
Folder %s is in use |
ESS_FILE_DISKFULL |
-10173 |
Disk full |
ESS_FILE_EXISTS |
-10175 |
File "%s" already exists |
ESS_FILE_LOCKED |
-10176 |
File "%s" is locked |
ESS_FILE_NOTFOUND |
-10178 |
File "%s" not found |
ESS_FILE_READ |
-10180 |
Error reading from file |
ESS_FILE_SHARE |
-10181 |
File %s is already open |
ESS_FILE_TOOMANY |
-10182 |
Too many file handles open |
ESS_FILE_VOLNOTSAME |
-10183 |
Cannot rename to another volume |
ESS_FILE_WRITE |
-10184 |
Error writing to file |
ESS_INI_BADBOOL |
-10200 |
Initialization variable "%s" must be set to "Yes" or "No" |
ESS_INI_BADLINE |
-10201 |
Invalid syntax on line %d of file %s |
ESS_INI_BADNUMBER |
-10202 |
Initialization variable ""%s"" set to invalid number |
ESS_INI_BADPATH |
-10203 |
Initialization variable ""%s"" set to invalid path |
ESS_INI_BADVALUE |
-10205 |
Initialization variable ""%s"" set to invalid value |
ESS_INI_NOSUCHVAR |
-10206 |
Cannot find initialization variable "%s" |
ESS_INI_NUMRANGE |
-10207 |
Initialization variable "%s" must be between %d and %d |
ESS_INI_TOO_MANY_ENV |
-10208 |
Too many SS.INI environment strings |
ESS_LOCK_TIMEOUT |
-10266 |
Timeout locking file: %s |
ESS_MEM_NOMEMORY |
-10270 |
Out of memory |
ESS_NO_TWEAK_CHKDOUT |
-10625 |
You cannot modify the properties of a file that is checked out. |
ESS_NOMERGE_BIN_NODELTA |
-10279 |
You cannot perform a merge on a binary file, or a file that stores latest version only. |
ESS_NOMULTI_BINARY |
-10280 |
Cannot check out %s. It is binary and is already checked out. |
ESS_NOMULTI_NODELTA |
-10281 |
%s stores only the latest version and is already checked out. |
ESS_OS_NOT_EXE |
-10285 |
Error executing: %s |
ESS_SS_ADDPRJASSOCFILE |
-10626 |
%s is a SourceSafe configuration file and cannot be added. |
ESS_SS_ADMIN_LOCKOUT |
-10456 |
The SourceSafe database has been locked by the Administrator. |
ESS_SS_BADRENAME |
-10402 |
Unable to rename %s to %s. |
ESS_SS_CANT_FIND_SSINI |
-10403 |
Cannot find SS.INI file for user %s |
ESS_SS_CHECKED_OUT |
-10405 |
File %s is currently checked out by %s |
ESS_SS_CHECKED_OUT_YOU |
-10406 |
You currently have file %s checked out |
ESS_SS_CHECKOUT_OLD |
-10408 |
Cannot check out an old version of a file |
ESS_SS_CHKOUT_USER |
-10413 |
File %s is currently checked out by %s |
ESS_SS_CONFLICTS |
-10415 |
An automatic merge has occurred and there are conflicts.\nEdit %s to resolve them. |
ESS_SS_DEL_ROOT |
-10418 |
Cannot delete the root project |
ESS_SS_DEL_SHARED |
-10419 |
A deleted link to %s already exists |
ESS_SS_FILE_NOTFOUND |
-10421 |
File ""%s"" not found |
ESS_SS_HISTOPEN |
-10404 |
A history operation is already in progress |
ESS_SS_INSUFRIGHTS |
-10423 |
You do not have access rights to %s |
ESS_SS_LATERCHKEDOUT |
-10426 |
A more recent version is checked out |
ESS_SS_LOCALRW |
-10427 |
A writable copy of %s already exists |
ESS_SS_MOVE_CHANGENAME |
-10428 |
Move does not change the name of a project |
ESS_SS_MOVE_NOPARENT |
-10429 |
Project %s does not exist |
ESS_SS_MOVE_ROOT |
-10430 |
Cannot move the root project |
ESS_SS_MUST_USE_VERS |
-10431 |
Cannot roll back to the most recent version of %s |
ESS_SS_NOCOMMANCESTOR |
-10432 |
Files have no common ancestor |
ESS_SS_NOCONFLICTS2 |
-10434 |
%s has been merged with no conflicts. |
ESS_SS_NODOLLAR |
-10435 |
File %s is invalid. Files may not begin with $. |
ESS_SS_NOT_CHKEDOUT |
-10436 |
File %s is not checked out |
ESS_SS_NOT_SHARED |
-10437 |
File %s is not shared by any other projects |
ESS_SS_NOTSEPARATED |
-10438 |
Files are not branched |
ESS_SS_OPEN_LOGGIN |
-10457 |
Unable to open user login file %s. |
ESS_SS_PATHTOOLONG |
-10439 |
Path %s too long |
ESS_SS_RENAME_MOVE |
-10442 |
Rename does not move an item to another project |
ESS_SS_RENAME_ROOT |
-10443 |
Cannot Rename the root project |
ESS_SS_ROLLBACK_NOTOLD |
-10447 |
Cannot Rollback to the most recent version of %s |
ESS_SS_SHARE_ANCESTOR |
-10449 |
A project cannot be shared under a descendant. |
ESS_SS_SHARED |
-10450 |
File %s is already shared by this project |
ESS_SSPEC_SYNTAX |
-10515 |
Invalid SourceSafe syntax: "%s" |
ESS_UM_BAD_CHAR |
-10550 |
Bad username syntax: "%s" |
ESS_UM_BAD_PASSWORD |
-10551 |
Invalid password |
ESS_UM_BADVERSION |
-10552 |
Incompatible database version |
ESS_UM_DEL_ADMIN |
-10553 |
Cannot delete the Admin user |
ESS_UM_PERM_DENIED |
-10554 |
Permission denied |
ESS_UM_RENAME_ADMIN |
-10555 |
Can not rename the Admin user |
ESS_UM_TOO_LONG |
-10556 |
Username too long |
ESS_UM_USER_EXISTS |
-10557 |
User "%s" already exists |
ESS_UM_USER_NOT_FOUND |
-10558 |
User "%s" not found |
ESS_URL_BADPATH |
-10192 |
The URL for project %s was not set properly. |
ESS_VS_CHECKED_OUT |
-10601 |
File %s checked out |
ESS_VS_CHILD_NOT_FOUND |
-10602 |
Subproject or file not found |
ESS_VS_COLLISION |
-10603 |
Collision accessing database, please try again. |
ESS_VS_EXCLUSIVE_CHECKED_OUT |
-10614 |
File %s is exclusively checked out. |
ESS_VS_ITEMEXISTS |
-10604 |
An item with the name %s already exists |
ESS_VS_LONGNAME |
-10605 |
%s is an invalid %s name |
ESS_VS_MOVE_CYCLE |
-10606 |
You can not move a project under itself |
ESS_VS_NO_DELTA |
-10607 |
File %s does not retain old versions of itself |
ESS_VS_NOT_CHECKED_OUT |
-10608 |
File %s cannot be checked into this project |
ESS_VS_NOT_FOUND |
-10609 |
File or project not found |
ESS_VS_PARENT_NOT_FOUND |
-10610 |
Parent not found |
ESS_VS_VERS_NOT_FOUND |
-10615 |
Version not found |
ESS_VS_WANT_FILE |
-10616 |
This command only works on files. |
ESS_VS_WANT_PRJ |
-10617 |
This command only works on projects. |
ESS_URL_BUFOVERFLOW |
-10194 |
A link in %s was ignored because it was longer than SourceSafe can understand |
ESS_URL_CANTCHECKHTML |
-10193 |
An error occurred while trying to check hyperlinks for %s |
ESS_SS_ADDINFAILED |
-10440 |
Error loading SourceSafe add-in: %s |
ESS_CANCEL |
-32766 |
Cancel |
ESS_LOADSTRING_FAILED |
-10999 |
Error loading resource string |
Questions
The following questions can occur during the invocation of Visual SourceSafe methods. These questions are answered automatically as indicated in the table - your application does not know they happened. However, knowing about the questions helps to understand what to expect when you call Visual SourceSafe.
Question | Answer |
---|---|
A deleted copy of this %s file already exists in this project. Do you want to recover the existing file? |
Yes |
Folder %s not found. Create? |
Yes |
Have any conflicts in %s been properly resolved? |
Yes |
File %s is currently checked out by %s. Proceed anyway? |
Yes |
File %s was checked out to folder %s. Proceed in %s? |
Yes |
File %s is checked out to project %s, and you are in %s. Proceed anyway? |
Yes |
File %s is currently checked out by %s. Delete anyway? |
Yes |
You currently have file %s checked out. Delete anyway? |
Yes |
An item named %s was already deleted from this project. Purge the old item and delete this one now? |
Yes |
This version of %s already has a label. Overwrite? |
Yes |
The label %s is already used. Remove the old label? |
Yes |
%s has been merged with no conflicts. Check in now? |
Yes |
Redo the automatic merge? |
Yes |
Delete local file: %s? |
Yes |
%s is already checked out. Continue? |
Yes |
File %s has been destroyed, and cannot be rebuilt. Continue anyway? |
Yes |
Project $%s has been destroyed and cannot be rebuilt. Continue anyway? |
Yes |
$%s was moved out of this project and cannot be rebuilt. Continue anyway? |
Yes |
%s has changed. Undo check out and lose changes? |
Yes |
A deleted file of the same name already exists in this Visual SourceSafe project. Do you want to recover the deleted file instead of adding your local %s? |
No |
%s is writable. Replace? |
No |
%s is checked out. Replace? |
No |
See Also
Tasks
Concepts
Introduction to Visual SourceSafe Automation