Help and Support

"SourceSafe cannot create a new project or add a new file" error when adding a file to source control

Article ID:949024
Last Review:February 11, 2008
Revision:1.4
Source: Microsoft Support

Back to the top

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Back to the top

Action

You try to add a file to a project in Visual SourceSafe using the Visual SourceSafe Explorer.

Back to the top

Result

You receive the following error message:

"SourceSafe cannot create a new project or add a new file because of possible database corruption. Ask you administrator to run Analyze on the database"

Back to the top

Cause

The aaaaaaaa.cnt file located in the Data folder is corrupt.

Back to the top

Resolution



Use these steps to fix the problem.  Note: before trying these steps we recommend you backup your VSS database.  See the article listed below that shows how to backup a VSS database.
Move the current aaaaaaaa.cnt file from the Data folder of the VSS database to a temporary folder.
Create an ASCII text file called aaaaaaaa.cnt.
Add the following line to this file:


              AAAAAAAA
Save this file in the Data folder of the VSS database
Run Analyze -F on the VSS database.



How To Back Up a Visual SourceSafe Database (http://support.microsoft.com/default.aspx?scid=kb;en-us;244016)

Back to the top

More Information

INFO: How SourceSafe Stores Log Files (http://support.microsoft.com/default.aspx?scid=kb;en-us;157714)

Back to the top

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

Back to the top


APPLIES TO
Microsoft Visual SourceSafe 2005 Standard Edition
Microsoft Visual SourceSafe 6.0d
Microsoft Visual SourceSafe 6.0C

Back to the top

Keywords: 
kbnomt kbrapidpub KB949024

Back to the top

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.