Locked Sourcesafe was unable to finish writing the file.

  • Tuesday, December 22, 2009 1:32 PM
     
     
    Hello all,

    I have an issue with a VSS 2005 database I've created on a Windows Server 2008 Standard 64-bit machine. First, a little background:

    1) My machine is Vista 64-bit with all the latest updates installed.
    2) Using Visual Studio 2008 Professional
    3) Have run analyze on the VSS database in question and there are no errors reported.
    4) I have checked permissions on the server and I'm an admin with full rights to the VSS directory tree
    5) I am an admin on my local Vista machine as well
    6) I have disabled Virus protection on the server in a "test" to see if that changes the result when trying to add this file. Unfortunately, it doesn't.
    7) The server has 300+GB of free space
    8) I have slightly less than 200 GB of free space on my local machine
    9) I have the 8.0.50727.1551 version of the client installed.
    10) I have also installed the vs80-kb943847-x86-intl.exe program

    Everytime I attempt to add one particular file (116K in size and it's one of the Designer.cs files from a form) I get the error from VSS stating that it was unable to finish writing the file. It does not matter whether I attempt to add this file directly to my project in Visual Studio 2008 or if I attempt to add this file to the VSS database directly using the VSS 2005 Client.

    Interestingly, I do not have this issue with 2 other VSS databases on 2 different servers, so I'm a little stumped as to what the problem could possibly be. Any help or suggestions of what the issue may be would be greatly appreciated.

All Replies

  • Tuesday, December 22, 2009 4:30 PM
     
     
    Hi there,

    If I were you, I would use procmon.exe to track what VSS is doing and see where the error is coming from. (make sure to filter on the process name or ID).

    You can find procmon at: http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

    Hope this helps,

    Remi.
  • Wednesday, December 23, 2009 2:13 AM
     
     
    Alrighty, I have a profile created and saved from Performance Monitor when attempting to add the file to VSS. It is a rather sizeable file and am curious as to what I might be looking for? I see a bunch of NAME NOT FOUND entries when trying to access something in the registry, some FAST IO DISALLOWED, some BUFFER TOO SMALL, and BUFFER OVERFLOW as well as a bunch of SUCCESS entries.

    Any direction of what I'm looking for to figure this out would be greatly appreciated.
  • Wednesday, December 23, 2009 7:06 AM
     
     
    Hi,

    Please try installing Visual SourceSafe 2005 Update CTP to see it works:
    http://support.microsoft.com/kb/939808


    Catherine Sea
    Version Control Software | Software Configuration Management Solution


  • Tuesday, December 29, 2009 12:44 PM
     
     

    I just installed the CTP from the link above and still receive the same error. I did spend some more time perusing the log file generated from ProcessMonitor and noticed 2 INVALID PARAMETER statements back to back during the WriteFile operation on the VSS file. It then goes on to attempt to read from a KnownClasses registry key on the local machine and then attempts to create an sserife.fon file under the C:\Windows\Fonts directory? Can't say that part makes much sense, but it's what the log indicates. The initial INVALID PARAMETER statement occurs on entry 1007 and the Thread Exit statement occurs on entry 1486...