ACC97: Err Msg: "Could not create a valid file name" in VSS
ID: Q162929
|
The information in this article applies to:
SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
When you add an object to Visual SourceSafe, you may receive the following
error message:
Could not create a valid file name for '<object>'. You must rename
it before you can add it to Source Code Control.
CAUSE
You used a character that is invalid for Visual SourceSafe in the object
name.
RESOLUTION
Do not use any of the following characters in object names that will be
included in a project in Visual SourceSafe:
"&", "@", "<", ">, "{", "}", "[", "]", "(", ")", ":", ";", "=", "^", "|", "*", "\", "/", "%", "?", ",", "'", """, or tabs.
Some names in Visual SourceSafe cannot begin or end with spaces or tabs.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new database named "ssTest" (without the quotation marks).
- Place this database under Source Safe Control by selecting SourceSafe
on the Tools menu and clicking "Add Database to SourceSafe."
- Create a new module.
- Save the module as "**<modTest>**" (without the quotation marks) and close it.
- Note that you receive the error mentioned in the SYMPTOMS section.
Click OK.
- Change the name of the module to "modTest" (without the quotation
marks).
- Add the module to SourceSafe by selecting SourceSafe on the Tools menu and clicking "Add Objects to SourceSafe."
REFERENCES
For more information about naming limitations, search the Visual
SourceSafe Help Index for "Naming Conventions."
Additional query words:
Keywords : kberrmsg kbinterop ssint ssacc
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb