问题描述
我几乎浪费了一整天试图安装 Windows Azure Storage Emulator 但不知何故它没有安装..
I almost wasted my whole day trying to install Windows Azure Storage Emulator but somehow it is not getting installed..
日志向我显示此错误:未找到 Sql 实例.我尝试重新安装 Sql server 2012,但没有帮助.根本找不到Sql实例..
The log is showing me this error : Sql instance not found. I tried re-installing Sql server 2012 but it did not help. It is not able to find Sql instance at all..
这里是详细的日志:http://pastebin.com/KUW4mjuf
我尝试使用谷歌搜索,但最终没有任何解决方案.
I tried googling around but ended up with no solution at all.
:-( 如果没有 Azure 存储模拟器,我就无法继续..
:-( I can't go ahead without Azure Storage emulator..
我希望这里有人能帮忙.
I hope somebody here will help.
推荐答案
安装过程中 sqllocaldb 用户数据库 v11.0 可能存在问题.您需要重新创建它(见下文).
There may be an issue with the sqllocaldb user database v11.0 during the install.You need to recreate it (see below).
就我而言,我的第一次安装尝试在我的 c:users[user] 目录中留下了一些文件:
As far as I'm concerned, my first install attemp left some files in my c:users[user] directory :
- WAStorageEmulatorDb30.mdf
- WAStorageEmulatorDb30_log.ldf
(您的版本号可能不同.)sqllocaldb 日志会提到这些文件仍然存在并且不会删除它们.
(Your version numbers may differ.) The sqllocaldb logs would mention these files still existed and it would not erase them.
我只是手动删除了它们.重新创建了 v11.0:
I just deleted them manually.Recreated the v11.0:
- sqllocaldb 停止 v11.0
- sqllocaldb 删除 v11.0
- sqllocaldb 创建 v11.0
并重新安装.
这篇关于Windows Azure 存储模拟器安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!