Re: Filename truncation and renaming question
- From: Miles <Miles@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Mar 2006 08:49:28 -0800
Thanks again for your prompt reply and your assistance! I will reiterate to
our network folks the need to verify their part of the system. We are running
nightly backups and a weekly (somtimes more often) Analyze/Fix...
Um, what could be causing the spaces in the filenames to be replaced with
underscores? Is that a result of the Analyze/Fix on a corrupted Names.dat as
well?
"Alin Constantin [MSFT]" wrote:
No, I don't think that's the cause of corruption. Basically all IDEs (VB6,.
VB.NET, VS, etc) will use the same dll (ssscc.dll, which is the MSSCCI dll
for SourceSafe) to access the VSS database.
Corruption in names.dat can be caused by a bug in VSS (I am not aware of any
bug in this area though), or by power or network failures, in which case VSS
doesn't get to finish updating all the database files during a
checkin/rename.
A good practice is to backup the database regularly and to run analyze on
the database often to keep it clean of corruptions (detecting and fixing
earlier is easier than a couple of months after the corruption appeared). If
VSS users get sometimes messages like "Network not found", "Invalid handle",
or similar errors that indicate network connection loss, it's also good to
check the connections and network cards and run analyze on the database to
fix potential corruptions.
--
Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.
"Miles" <Miles@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B4435B10-9A50-4C8D-BCA1-CDCDCCD5BE75@xxxxxxxxxxxxxxxx
Thank you for your response Alin. We have indeed had recurring issues with
corruption in the Names.dat file. What would be causing that andwhat steps
can I take to help prevent that from occurring? We are running three
versions of Visual Studio (VB6, VB.Net for 2003 and 2005) against VSS
concurrently; could that be the problem?
"Alin Constantin [MSFT]" wrote:
Hi Miles,
While it's possible to be a bug in VSS, it is more plausible you had
database corruption in names.dat (or that you were missing names.dat)
Names.dat keeps the long filenames of the files in the VSS database. If
something bad happens with it, analyze has no way of recovering the long
names, and will truncate the filename to 31 characters.
--
Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Miles" <Miles@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7FFE0F5B-2C88-4544-BD13-36B0A66FD884@xxxxxxxxxxxxxxxx
What can I do to cause VSS to not truncate long filenames when running
the
analyze/fix step?
Also, what can I do to cause VSS to not rename files (replacing spaces
with
underscores) when running the analyze/fix step?
I run the analyze/fix weekly, in two steps. Step 1 checks to see if
Step 2
is required.
Step 1 runs with the -X -B flags.
Step 2 does all the work; it uses a list of
parameters: -FL -FP -I- -S -C -D
-DC -DF -B
Thank you in advance for your help!
Miles
- Follow-Ups:
- Re: Filename truncation and renaming question
- From: Alin Constantin [MSFT]
- Re: Filename truncation and renaming question
- References:
- Re: Filename truncation and renaming question
- From: Alin Constantin [MSFT]
- Re: Filename truncation and renaming question
- From: Alin Constantin [MSFT]
- Re: Filename truncation and renaming question
- Prev by Date: Re: Open solution from Source Control problem
- Next by Date: list all checkouts
- Previous by thread: Re: Filename truncation and renaming question
- Next by thread: Re: Filename truncation and renaming question
- Index(es):
Relevant Pages
|