# Visual SourceSafe 出現 Error reading from file! ###### 發布日期:2019-11-01 | 存檔日期:2023-06-17 ###### 原文網址:https://bmtnote.blogspot.com/2019/11/visual-sourcesafe-error-reading-from.html 今天同事從Visual Studio簽入檔案時,出現UTF-8的警告訊息,他選擇忽略以後,Visual SourceSafe中的檔案就毀損了,也無法刪除,點目錄就會出現「<font color="#f00">Error reading from file!</font>」錯誤訊息。 到Visual SourceSafe的安裝目錄中可以找到analyze.exe執行檔,然後用cmd執行以下指令: ```cmd= analyze -f <VSS DATA FOLDER PATH> ``` `<VSS DATA FOLDER PATH>`是Visual SourceSafe檔案儲存路徑下一個名為data的目錄。舉例,我的VSS Database路徑為`D:\VSSDB`,底下就會有名為data的目錄。指令就是: ```cmd=+ analyze -f D:\VSSDB\data ``` 之後analyze.exe就會開始對毀損除錯,至於檔案救不救得回來無法保證,但至少「<font color="#f00">Error reading from file!</font>」訊息沒有再出現。 在執行時有碰到兩種情況: 1. 執行前,正在登入Visual SourceSafte的使用者都要離開,不然無法執行。 2. 每次執行analyze.exe後會在data\backup中建立analyze檔案(應該是log檔,有點忘記),如果要執行第二次,必須把這個檔案刪掉才能執行。 ###### tags: `Visual SourceSafe` `blogspot存檔` `Public`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up