【问题标题】:How to authenticate Azure storage emulator?如何对 Azure 存储模拟器进行身份验证?
【发布时间】:2018-11-01 09:39:21
【问题描述】:

我在本地工作,当我导航到 127.0.0.1:10000/devstoreaccount1/ 时,我收到以下错误消息:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Error>
<Code>InvalidQueryParameterValue</Code>
<Message>Value for one of the query parameters specified in the request URI is invalid. RequestId:22a76cf4-07e7-4440-90e5-cfe15909a6a1 Time:2018-10-31T21:31:18.5708147Z</Message>
<QueryParameterName>comp</QueryParameterName>
<QueryParameterValue/>
<Reason/>
</Error>

我可以毫无问题地启动存储模拟器,这是我的存储模拟器的状态;

Windows Azure Storage Emulator 5.8.0.0 command line tool
IsRunning: True
BlobEndpoint: http://127.0.0.1:10000/
QueueEndpoint: http://127.0.0.1:10001/
TableEndpoint: http://127.0.0.1:10002/

【问题讨论】:

标签: azure azure-storage


【解决方案1】:

执行完模拟器后,在存储资源管理器中,点击截图中的选项->附加到本地模拟器->下一步->下一步->连接。

这是您的本地帐户。

【讨论】:

  • 如何设置我的账户密钥?
  • @user2426691 无需设置帐号密钥,在最后一步自动出现。 key 总是相同的值,参考这个link
  • 我导航到127.0.0.1:10000/devstoreaccount1/file这正常吗我得到指定的资源不存在错误
  • @user2426691 您使用模拟器访问存储文件共享?如果是这样,因为模拟器目前不支持文件共享。
猜你喜欢
  • 1970-01-01
  • 2019-01-06
  • 2021-12-17
  • 1970-01-01
  • 2021-02-28
  • 2015-11-28
  • 1970-01-01
  • 2019-05-23
  • 2017-03-01
相关资源
最近更新 更多