vssscc file corrupt

Somehow (not too sure how it has happened) the <solutionname>.vssscc file has become corrupt in the Team Foundation Source Control.

Performing an h get * in the directory that is bound to the solution folder in source control give an error about nulls in the database on the vssscc item. h get * /force seems to ignore the error and proceed though.

This is causing our Team Build to fail when getting the solution out of source control.

Any ideas how to proceed

Regards

Stef Shoffren


Answer this question

vssscc file corrupt

  • msidhu

    I'm not aware of any bug in beta 3 that would cause that (that's not to say it doesn't exist, but I really thought we squashed that).  So, just to make sure, are you certain you are using the beta 3 server using the tf.exe command line

    What is the output of "tf history /i MySolution.vssscc"

    Buck

  • OlivierJ

    We have recently seen this problem in beta 2 (I presume you are seeing a "Data is null" message from the client and there are null reference exceptions in the eventlog on the application tier for the .vssscc file).  The simplest work around would be to try deleting the .vssscc file and re-add it to source control, if you have a good copy of it you can add.  Let me know if that gets you around the problem.

    Buck

  • CrystalDeveloper

    We are definitely on Beta 3 Refresh.

    The output of "tf history..." was:

    changeset change user date comment
    1780 edit njalal 10/20/2005
    267 edit njalal 9/2/2005
    ...


    I tried the get command on several different versions as follows:
    "tf get MySolution.vssscc /version:C101"


  • jtiede

    We had help from Microsoft to convert our database.  Perhaps, something went wrong in the migration.  We have logged this issue and will contact the same group over there for further assistance.  Thanks for your help.  Let me know if you need additional information.


  • CalgaryDataGirl

    How were you able to delete the file

    We are having the same issue.  When we run "tf delete MySolution.vssscc", we get an error saying "The item MySolution.vssscc could not be found in your workspace."  The file does exist.  Trying to do anything using the GUI produces the "Data is null" error.

  • Kari the Nerd

    We are already on Beta 3 (moved yesterday).

    I've tried getting the latest version and a previous version, but both of those commands produce the "Data is Null" error.

    I was somehow able to get the file in my workspace earlier, but the delete command still gave me the "MySolution.vssscc could not be found in your workspace" error.

  • ThewEEsCOT

    Okay, I understand then.  The file that was corrupted by beta 2 is still unrecoverable even in the converted beta 3 database.  By going through your contact, we can help you address the issue so you can add a new file by the same name (the old one is toast).

    Buck

  • Nagendra123

    Hmmm, I see you have an entry for 9/2/2005.  How did you convert to beta 3   It wasn't released until Sept. 21 (beta 3 referesh was released a couple of weeks ago).

    Did you somehow convert your beta 2 database

    Buck

  • PatrickGreen

    I'm glad that worked for you.  You'll be glad to know that we've also now diagnosed the problem and are fixing it (we in fact hit it in our dogfood system).

    Buck



  • shawncm217

    Buck

    Successfully deleted the file and replaced with good copy. I needed to use the command line tool to performed this (h add <solutionname>.vssscc).

    Thanks for your assistance

    Regards


  • parker121

    First, let me encourage you to move to beta 3.  This and a large number of other issues have been fixed since beta 2.

    You need to have a file in order to delete it, so you'll need to get a version of it into your workspace.  If you cannot get the latest version of the file (tf get MySolution.vssscc), run "tf history /i MySolution.vssscc" and try to get an earlier version.  For example, to get the version at changeset 12, run "tf get MySolution.vssscc;C12".

    Buck

  • vssscc file corrupt