azure - 无法初始化 Microsoft Azure 存储模拟器 SDK2.8

标签 azure visual-studio-2013 azure-sdk-.net

enter image description here我无法启动 Azure 模拟器。

出现错误:

Microsoft Azure Tools: Failed to initialize Microsoft Azure storage emulator. 
The storage emulator needs to be initialized. Please run the 'init' command. Cannot create database.

尝试替换 AzureStorageEmulator.exe 端口名称,但似乎不起作用。 还尝试在管理模式下运行 Azure 提示符并尝试写入 DSInit/sqlInstance:但其显示错误为 DSInit 不是内部命令。

请对此提供任何帮助。

最佳答案

我在 2.7 Azure SDK 中遇到了同样的问题。 为了摆脱它,我转到 C:\users[user] 文件夹并删除了以下文件:

  • AzureStorageEmulatorDb42.mdf
  • AzureStorageEmulatorDb42_log.ldf

关于azure - 无法初始化 Microsoft Azure 存储模拟器 SDK2.8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34508275/

相关文章:

Azure 逻辑应用 FTP 文件内容

azure - Windows Azure 'Design Your SQL Database' 链接不起作用

tfs - 如何防止 TFS 锁定 App_Data 文件夹中的二进制文件?

Azure 开发运营 : Why does the DotNetCoreCLI@2 task not publish (zip) my Azure Functions project?

azure - Azure 中的直线是什么?

c++ - 如何拆分一个超大类?

asp.net-mvc - web.config xpath转换-按父元素查找

c# - Windows 更新后,Azure 计算模拟器未启动并卡在应用程序的启动角色上

c# - 使用 azure-sdk-for-net 将大型 blob 上传到 azure 超时

c# - 以编程方式确定 Azure 资源的子资源