【发布时间】:2016-07-30 05:18:01
【问题描述】:
当尝试调用 CloudBlobContainer 的 CreateIfNotExistsAsync 方法(连接字符串使用“UseDevelopmentStorage=true”)时,我收到以下错误:
异常:Microsoft.WindowsAzure.Storage.StorageException:远程服务器返回错误:(400) 错误请求。 ---> System.Net.WebException:远程服务器返回错误:(400)错误请求。 在 Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpStatusCode actualStatusCode, T retVal, StorageCommandBase`1 cmd, Exception ex) 在 c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master \Lib\Common\Shared\Proto col\HttpResponseParsers.Common.cs:第 50 行 ....
在异常堆栈跟踪结束时,我看到以下信息:
请求信息 请求ID:6981043b-1ca2-4788-ba8e-bab39fb95956 请求日期:格林威治标准时间 2016 年 4 月 8 日星期五 19:18:21 StatusMessage:此版本不支持此请求的 REST 版本 存储模拟器。请将存储模拟器升级到最新版本 在。有关详细信息,请参阅以下 URL:http://go.microsoft.com/fwl 墨水/?LinkId=392237
我正在使用 目前最新 模拟器 (v4.2) 以及 目前最新 Mirosft。 WindowsAzure.Storage 库 (v7.0.0)。我应该使用其他东西吗?
【问题讨论】:
标签: azure azure-storage azure-blob-storage