大约一周前,我的计算机获得了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”参数,它会提示提升。此外,您尝试启动模拟器时看到的错误是什么? –
谢谢迈克尔。我试过的所有步骤都是在提升的命令提示符下进行的。请参阅我已添加到原始问题的其他数据。存储模拟器目前不会在没有崩溃的情况下安装。 –