sitelink1 http://stackoverflow.com/questions/86842...ers-on-vss 
sitelink2  
sitelink3  

Question

- VSS is resuming it's sabotage of my repository again. The repair command won't let me repair, the lock VSS doesn't seem to affect currently logged in users-- and it isn't a user, its claiming the only person logged in is admin (via the VSS admin tool!) and I have already closed all instances of the VSS admin tool and client.

 

 

Answers

- In computer management, close all the sessions and open files. It's drastic, but that is the only way I found to fix it. You also might want to close the share temporarily.

- I had the same problem and even after following the steps in the answer above, it did not go away until I stopped the SQLWriter (Sql Server VSS Writer) and SSService (Visual SourceSafe LAN Service) services.

- Reboot the machine and re-try.

- Close also all Visual Studio instances since these are also (or can be) clients of Visual Source Safe.

- stopping SSService (Visual SourceSafe LAN Service) worked for me, thanks. it saved lot of time and confusions...

- I have this batch file running through the Task Scheduler 2:00 a.m. every day when no one should be logged in anyway, but they are. It seems to do the trick.

net stop sqlwriter
net stop ssservice
"D:\Program Files (x86)\Microsoft Visual SourceSafe\analyze.exe" -C -D -F -V4 "D:\vss\data"
net start ssservice
net start sqlwriter

The only issue I have come across is the backup folder might have data in it, which stops analyzer in its tracks. So I might end up adding some commands to move the stuff out of the data\backup folder if I run into that issue again. (In that scenario, you have to keep the analyze.log file in the backup folder. I haven't done enough research into that, though.)

I hope this helps!

    - -bd cmd option will remove the last backup. I use it anyways after renaming the backup folder by appending a timestamp. Analyze.exe -F -V3 -D -db -c -s "Drive:\Location".

    - Thank you, Tamus. I will try that out, but how do you go about renaming the backup folder by appending a timestamp? I did add such a feature to my batch file, but it seems that it only creates the folder without moving the backup data into it.

 

번호 제목 글쓴이 날짜 조회 수
75 [VSS] Using Visual SourceSafe – How to backup & restore VSS DB file 황제낙엽 2016.07.12 9728
74 SVN 관련 FAQ [118] 황제낙엽 2006.01.16 6882
73 Git Extensions Online Manual 황제낙엽 2022.02.17 4354
72 [SVN] VisualSVN Server 의 저장소 백업 및 복원 황제낙엽 2016.11.04 3275
71 Subclipse - Subversion Eclipse Plugin (SVN) 황제낙엽 2007.04.05 3231
70 tortoise, subversion 자동 로그인 캐시 제거(로그아웃) 황제낙엽 2020.02.06 3099
69 VisualSVN svn 프로토콜 열기 (Open SVN protocol on VisualSVN) file 황제낙엽 2018.11.22 1124
68 [TortoiseSVN] SVN Revision 되돌리는 법 file 황제낙엽 2022.02.09 886
67 SVN 사용시 revision 번호로 버전관리하는 방법 황제낙엽 2012.08.28 879
66 git 에서 CRLF 개행 문자 차이로 인한 문제 해결하기 file 황제낙엽 2016.09.29 844
65 git clone [bare/mirror] 정리 file 황제낙엽 2021.09.03 796
64 윈도우에서 TortoiseSVN 아이콘 오버레이가 표시되지 않는 문제 file 황제낙엽 2019.02.12 774
» [VSS] How to force logout of all users on VSS? 황제낙엽 2016.07.12 737
62 버전관리 툴 ( CVS, SVN, VSS, BitKeeper, ClearCase ... ) file 황제낙엽 2005.11.11 732
61 [VisualSVN] SSL 인증서 합치기 file 황제낙엽 2019.03.29 727
60 Previous operation has not finished; run 'cleanup' if it was interrupted file 황제낙엽 2018.04.02 724
59 SubVersion 설치 및 활용 (시리즈 강좌 - 03) 황제낙엽 2008.06.06 689
58 윈도우에서 깃(git) 서버 설치하기 file 황제낙엽 2016.05.17 641
57 [SVN] VisualSVN 계정 관리 방법 file 황제낙엽 2017.05.26 638
56 [VisualSVN] Importing an SSL certificate with private key 황제낙엽 2019.03.29 632