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.

 

번호 제목 글쓴이 날짜 조회 수
37 [VSS] Using Visual SourceSafe – How to backup & restore VSS DB file 황제낙엽 2016.07.12 9970
» [VSS] How to force logout of all users on VSS? 황제낙엽 2016.07.12 827
35 [Review] gitflow, 쉬운 git branch 관리 By 개발왕 김코딩 on 2월 11, 2014 in 개발 이야기 file 황제낙엽 2016.05.18 323
34 [TortoiseGit] 윈도우에서 깃(Git)을 좀더 편리하게 사용하기 file 황제낙엽 2016.05.17 383
33 윈도우에서 깃(git) 서버 설치하기 file 황제낙엽 2016.05.17 691
32 [TortoiseGit] 깃(Git) 브랜치 머지(Merge)하기 file 황제낙엽 2016.05.17 445
31 [TortoiseGit] 깃(Git)으로 브랜치/태그 만들기 file 황제낙엽 2016.05.17 551
30 Pro Git Book 다운로드 file 황제낙엽 2016.05.17 385
29 Git, 정말 필요한가 file 황제낙엽 2016.05.12 302
28 GIT/ 프로젝트, 폴더, 파일 관리 프로그램 장점 및 추천 (TortoiseGit) file 황제낙엽 2016.05.12 387
27 Git 의 기능 및 장점 황제낙엽 2016.05.12 320
26 Git 의 개념과 기초 사용법 file 황제낙엽 2016.05.12 344
25 Git 과 svn 비교 - svn 대비 git의 차별점 file 황제낙엽 2016.05.12 340
24 Git에 대한 단상 황제낙엽 2016.05.12 331
23 Git 의 장점과 단점 황제낙엽 2016.05.12 446
22 Git 의 기능 및 장점 황제낙엽 2016.05.12 317
21 TortoiseSVN 잠그기 (Get lock) file 황제낙엽 2016.02.04 368
20 VisualSVN Server 와 TortoiseSVN 관련 링크 모음 file 황제낙엽 2016.02.03 415
19 Win7 64bit에서 subclipse 1.6.x 사용 시 javahl 버전 에러 황제낙엽 2013.03.02 377
18 Versioning 에 대한 참고 사항 황제낙엽 2012.08.28 344