Show History - Operation Failed
Moderator: SourceGear
Show History - Operation Failed
We have a file that will not show the history. The strange thing is that it works in VSS, but not in SOS.
When I try to show the history the status windows always says "Operation Failed".
I have run Analyze a couple of times on this particular database since seeing the error. That has not resolved the problem.
Client machine - Windows XP, SP2
SOS version - 4.1.2
Server machine - Windows 2003 Server, SP1
SOS version - 4.1.2
Please help.
When I try to show the history the status windows always says "Operation Failed".
I have run Analyze a couple of times on this particular database since seeing the error. That has not resolved the problem.
Client machine - Windows XP, SP2
SOS version - 4.1.2
Server machine - Windows 2003 Server, SP1
SOS version - 4.1.2
Please help.
When you run analyze, do you do it twice? Once with the -f option and then again with the -c option?
One thing we've found sometimes forces a repair of a bad file in VSS is to perform an archive/restore using VSS. Can you set up a dummy database to perform the first restore to (make sure you give yourself access to it)? Just pick a small section that includes that file, archive it, and then restore it to the other database. Then add that dummy database to SOS in the Server Manager Tool, connect to it with a client, and see if you can view the history. If that works, then try restoring to back to where it was in VSS.
One thing we've found sometimes forces a repair of a bad file in VSS is to perform an archive/restore using VSS. Can you set up a dummy database to perform the first restore to (make sure you give yourself access to it)? Just pick a small section that includes that file, archive it, and then restore it to the other database. Then add that dummy database to SOS in the Server Manager Tool, connect to it with a client, and see if you can view the history. If that works, then try restoring to back to where it was in VSS.
I've seen a few times where going with the same location won't work. I'm thinking it's some sort of corruption in that portion of the database. We've shown it works in a different location. It makes me wonder if the restore doesn't do a full overwrite if it sees things already there, but I'm not sure. One other thing that might work would be to delete the original file and then restore.
When you had done the archive and restore to a dummy database, had you archived the entire project or just that file? Are there shares to worry about?
When you had done the archive and restore to a dummy database, had you archived the entire project or just that file? Are there shares to worry about?
I only archived the folder/project that contained the file in question.
That is something that I tried earlier though. When it would not restore properly, I deleted the entire folder. I then tried to restore again, but it still would not do it. I was apprehensive to perform a "destory permanently", so I just did a regular delete.
That is something that I tried earlier though. When it would not restore properly, I deleted the entire folder. I then tried to restore again, but it still would not do it. I was apprehensive to perform a "destory permanently", so I just did a regular delete.
I think the options left here are:
1) Make sure you still have the original archive of that file, completely destroy the errant file, and then restore to the original location.
2) Restore to a different location in the same repository. This might be worth trying anyway even before any destruction just to see if it would work.
3) Try a different automation component. It might not seem like that would do it, but it has been seen where trying a different automation component ends the problem.
1) Make sure you still have the original archive of that file, completely destroy the errant file, and then restore to the original location.
2) Restore to a different location in the same repository. This might be worth trying anyway even before any destruction just to see if it would work.
3) Try a different automation component. It might not seem like that would do it, but it has been seen where trying a different automation component ends the problem.