与Azure存储模拟器(V4.2)和Micorosft.WindowsAzure.Storage(V7.0.0)= GT错误的请求; Azure的SDK 2.9 [英] Bad Request with Azure Storage Simulator (v4.2) and Micorosft.WindowsAzure.Storage (v7.0.0) => Azure SDK 2.9

查看:331
本文介绍了与Azure存储模拟器(V4.2)和Micorosft.WindowsAzure.Storage(V7.0.0)= GT错误的请求; Azure的SDK 2.9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当试图调用CloudBlobContainer的CreateIfNotExistsAsync方法(用UseDevelopmentStorage =真正的连接字符串),我收到以下错误:

When trying to call CreateIfNotExistsAsync method of CloudBlobContainer (with "UseDevelopmentStorage=true" for connection string), I am getting following error:

异常:Microsoft.WindowsAzure.Storage.StorageException:远程服务器返回错误:(400)错误的请求。 ---> System.Net.WebException:远程服务器返回错误:(400)错误的请求。
   在Microsoft.WindowsAzure.Storage.Shared.Protocol.Htt$p$psponseParsers.ProcessExpectedStatus$c$cNoException[T](HttpStatus$c$c expectedStatus code,则httpStatus code在C actualStatus code,T retVal的,StorageCommandBase`1 CMD,异常前):\\ Program Files文件(x86)的\\詹金斯\\工作区\\ release_dotnet_master \\ LIB \\ COMMON \\共享\\原
山坳\\ Htt的presponseParsers.Common.cs:行50
....

在异常堆栈跟踪的结尾,我看到以下信息:

At the end of exception stack trace, I see following information:

索取资料
请求ID:6981043b-1ca2-4788-ba8e-bab39fb95956
RequestDate:星期五,2016年4月8日19点18分21秒GMT
StatusMessage:此请求的其余部分版本不受此版本支持
存储模拟器的
。请升级存储模拟器最新VERSI
上。请参阅以下网址了解更多信息: http://go.microsoft.com/fwl
油墨/?LINKID = 392237

Request Information RequestID:6981043b-1ca2-4788-ba8e-bab39fb95956 RequestDate:Fri, 08 Apr 2016 19:18:21 GMT StatusMessage:The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest versi on. Refer to the following URL for more information: http://go.microsoft.com/fwl ink/?LinkId=392237

我使用的目前最新的模拟器(V4.2),以及目前最新的 Micorosft。 WindowsAzure.Storage库(7.0.0)。我应该使用什么事吗?

I am using the currently latest simulator (v4.2) as well as currently latest Micorosft.WindowsAzure.Storage library (v7.0.0). Should I be using anything else?

推荐答案

4.3版本的模拟器,支持7.0.0版本的.NET客户端库的,将很快被释放。我们正在释放它的一些技术问题,但它是在管道。现在你可以使用客户端的旧版本。

The 4.3 version of the emulator, which supports the 7.0.0 version of the .Net Client Library, will be released very soon. We are having some technical issues releasing it, but it's in the pipeline. For now you can use the older version of the client.

很抱歉给您带来不便!

修改:4.3模拟器现在已经启动。如果您有任何问题,请回复。

EDIT: The 4.3 emulator is now up. Please respond if you have any issues.

这篇关于与Azure存储模拟器(V4.2)和Micorosft.WindowsAzure.Storage(V7.0.0)= GT错误的请求; Azure的SDK 2.9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆