大約一週前,我的計算機獲得了Windows Anniversary更新。從那時起,我一直無法啓動Azure存儲模擬器。我試過卸載並重新安裝Azure存儲模擬器和SQL Express Local DB。我也嘗試了步驟here。沒有解決這個問題。 MSSQLLocalDB存在,我可以通過SQL Management Studio連接到它。更新到Windows 10週年更新後,Azure存儲模擬器失敗
如果我嘗試手動草簽存儲數據庫中,我得到這個錯誤信息:
C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe init -inprocess
Windows Azure Storage Emulator 4.3.0.0 command line tool
Cannot reserve port: HttpSetServiceConfigurationAcl failed: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7).
One or more initialization actions have failed. Resolve these errors before attempting to run the storage emulator again.
Error: Cannot reserve port: HttpSetServiceConfigurationAcl failed: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7).
編輯:在這一點上,我現在試圖卸載/重新安裝的Visual Studio 2015年,SqlLocalDB 2016和Azure的SDK 2.9.5 。存儲模擬器仍然無法初始化。如果我重新運行MicrosoftAzureStorageEmulator.msi,我收到錯誤消息:「Windows Storage Emulator Service已停止工作」。這裏的日誌:
Action 10:33:33: RunInitialize. Initializing the Storage Emulator
CAQuietExec: Windows Azure Storage Emulator 4.5.0.0 command line tool
CAQuietExec: Error: An unknown error has occurred.
CAQuietExec: Error 0xffffffff: Command line returned an error.
CAQuietExec: Error 0xffffffff: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 10:35:57: InstallFinalize. Return value 3.
Action 10:35:57: Rollback. Rolling back action:
Rollback: Initializing the Storage Emulator
Rollback: Copying new files
Rollback: Updating component registration
Action ended 10:35:57: INSTALL. Return value 3.
Action ended 10:35:57: ExecuteAction. Return value 3.
Action 10:35:57: FatalError.
Action start 10:35:57: FatalError.
Action 10:35:57: FatalError. Dialog created
Action ended 10:35:58: FatalError. Return value 2.
Action ended 10:35:58: INSTALL. Return value 3.
SqlLocalDB似乎大部分功能正常。我可以從命令行創建和刪除數據庫而不會出現問題。下面是我SqlLocalDB的輸出:
c:\Users\genslow\Downloads>sqllocaldb i
MSSQLLocalDB
ProjectsV13
v12.0
v13.0
感謝, 格雷格
責備BillCo ... Win10更新現在是一個完整的混亂,M $使用每個人作爲他們的測試者... –
你能嘗試從提升的命令提示符運行命令嗎?或者,也可以刪除「-inprocess」參數,它會提示提升。此外,您嘗試啓動模擬器時看到的錯誤是什麼? –
謝謝邁克爾。我試過的所有步驟都是在提升的命令提示符下進行的。請參閱我已添加到原始問題的其他數據。存儲模擬器目前不會在沒有崩潰的情況下安裝。 –