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.

 

번호 제목 글쓴이 날짜 조회 수
55 VisualSVN svn 프로토콜 열기 (Open SVN protocol on VisualSVN) file 황제낙엽 2018.11.22 518
54 VisualSVN Server Over view 황제낙엽 2018.07.11 67
53 서브버전(subversion) svn locked 오류 해결 황제낙엽 2018.06.11 118
52 Previous operation has not finished; run 'cleanup' if it was interrupted file 황제낙엽 2018.04.02 435
51 Optimize Tortoise SVN Cache (TSVNCache.exe) Disk I/O file 황제낙엽 2018.04.02 177
50 [SVN] VisualSVN 계정 관리 방법 file 황제낙엽 2017.05.26 352
49 [SVN] VisualSVN Server 의 저장소 백업 및 복원 황제낙엽 2016.11.04 2761
48 Git commit 이력(Merge pull request #00 from repo/branch) 깔끔하게 관리하기 file 황제낙엽 2016.10.04 82
47 10분만에 파악해보는 What is GitHub (Hello World) file 황제낙엽 2016.10.04 236
46 태그(Tag) 생성 file 황제낙엽 2016.09.29 344
45 git 에서 CRLF 개행 문자 차이로 인한 문제 해결하기 file 황제낙엽 2016.09.29 572
44 [Git] SourceTree 에서 Global 변수 세팅 file 황제낙엽 2016.09.27 67
43 쓸만한 Git 용 GUI 프로그램 file 황제낙엽 2016.09.26 181
42 Git 관련 참조 URL 황제낙엽 2016.09.13 98
41 Git, Windows 2008 server, ASP.NET, IIS, Bonobo Server, Visual Studio, Msysgit, TortoriseGIT file 황제낙엽 2016.09.13 149
40 Git 설치하기 - Window file 황제낙엽 2016.08.08 53
39 Git For Windows 황제낙엽 2016.08.08 91
38 [VSS] 소스 세이프 자동으로 백업하기 황제낙엽 2016.07.12 81
37 [VSS] Using Visual SourceSafe – How to backup & restore VSS DB file 황제낙엽 2016.07.12 7521
» [VSS] How to force logout of all users on VSS? 황제낙엽 2016.07.12 395