OOPS!! Not able to perform move operation on Visual SourceSafe

After long time, I am back with one more VSS challenge.

Here it is:

Problem: You might face problem with VSS move operation. Error may be "File or Project not found" or "Unable to finish writing to file"

Resolution: This problem may occur if we are having branching and sharing on our VSS database and some of the folders, files were deleted. Due to orphans files might be there in database, this error can come.

Steps to perform:

NOTE: BEFORE PERFORMING ANY OF THE BELOW OPERATION, PLEASE KEEP THE BACKUP OF THE DATABASE.  

Download the VSSEMS tool from below blog:

https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx

ü Install VSSEMS tool

ü Run it

ü Open your local database

ü Click “Find Deleted Items”

ü Purge the deleted items.

ü Close VSSEMS

Download the Datawiz tool from below blog:

https://code.msdn.microsoft.com/DATAWIZ/Release/ProjectReleases.aspx?ReleaseId=738

ü Take the backup of database after running VSSEMS tool.

ü Then perform the steps mentioned in above link. Don’t skip any step.

After above steps successfully ran with VSSEMS and Datawiz tools, Run the analyze utility with following switches.
<Path to analyze utility :> Analyze -F -V4 <path to data folder of database>

Here is msdn article on Analyze switch:
https://msdn.microsoft.com/en-us/library/bb509342(VS.80).aspx

Note: Above steps should be referred only when nature and symptoms of the problem are same as mentioned in this article. If you have doubt, it would be better to consult Microsoft support for resolution of the problem.

References: https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx

Disclaimer: This is a personal weblog. The opinions expressed here represent my own and not those of my employer.