【问题标题】:not able to connect azure storage emulator无法连接天蓝色存储模拟器
【发布时间】:2018-07-10 14:59:02
【问题描述】:

我点击了以下链接: Azure Emulator Port conflict, app tries to connect to wrong port

但仍然出现此错误:

System.InvalidOperationException was unhandled
HResult=-2146233079
Message=The account credentials for 'devstoreaccount1' are incorrect.
Source=Microsoft.Azure.WebJobs.Host

我的连接字符串是:"UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://127.0.0.1;"

使用 azure sdk beta 2.0.0 pre version

【问题讨论】:

  • 您是否怀疑存在与您链接的问题类似的端口冲突?您的连接字符串正在使用默认端口,因此如果您更改了它们,您也需要更改您的连接字符串。
  • 是的。我也通过更改连接字符串进行了检查。但仍然出现同样的错误。
  • 你能运行“AzureStorageEmulator.exe status”并显示你的新连接字符串吗?另一个调试步骤是检查 fiddler 中的流量以查看模拟器是否正在接收请求。

标签: azure azure-webjobs azure-storage-emulator


【解决方案1】:

请使用最新的Azure SDK
验证您在安装local storage emulator的过程中是否正确执行了这些步骤

为了您确保这有效。

您可以在“存储帐户”下看到(开发) 安装并启动存储资源管理器资源树后 存储模拟器。

应该是这样的

【讨论】:

    猜你喜欢
    • 2015-07-02
    • 2022-12-22
    • 2013-08-08
    • 1970-01-01
    • 1970-01-01
    • 2015-03-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多