Azure存储模拟器400错误的请求 [英] Azure Storage Emulator 400 Bad Request

查看:248
本文介绍了Azure存储模拟器400错误的请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想CreateIfNotExists时使用Azure存储模拟器时,突然得到错误请求(400)错误。在内部异常回应说为HTTP标头之一的值不正确的格式。所有的表的存在,该数据是在表中,一切工作直到一个更新我的NuGet包。环顾所以它看起来是一个常见的​​原因是一个更新,创建一个不匹配Azure存储客户端库(现为5.0.0)。我更新了Azure的SDK 2.6(因为我有VS2012)。这使存储模拟器到4.0.0.0,但仍没有运气......同样的错误。这是一种突然的更新包一包一包的会导致整个事情打破,彻底杀死了我相当大的项目是一件坏事。有任何想法吗?

I'm suddenly getting the Bad Request (400) error when using the Azure Storage Emulator when trying to CreateIfNotExists. The Response on the Inner Exception says "The value for one of the HTTP headers is not in the correct format." All the tables exist, the data is in the tables, everything was working up until an update to my NuGet packages. Looking around SO it seems like a common cause is an update to Azure Storage Client Library (now at 5.0.0) that creates a mismatch. I updated the Azure SDK to 2.6 (since I have VS2012). This brings the Storage Emulator up to 4.0.0.0, but still no luck...same error. This is kind of a bad thing that suddenly an update to a package of a package of a package causes the whole thing to break and completely kills my rather large project. Any ideas?

推荐答案

我不知道这是别人的问题,但是这是我想通了......

I don't know if this is a problem for anyone else, but this is what I have figured out...


  • 存储模拟器4.1.0.0与Azure存储客户端库5.0.0
  • 要使用的那个
  • 存储模拟器4.1.0.0自带的Azure SDK 2.7。

  • 的Azure SDK 2.7将不使用Visual Studio 2012的工作。

  • 的Azure SDK 2.6 VS2012具有仿真器4.0.0.0。我不知道什么是存储客户端库兼容......我试过4.3.0.0,5.0.0.0和5.0.2,但没有运气

  • Storage Emulator 4.1.0.0 is the one to use with Azure Storage Client Library 5.0.0
  • Storage Emulator 4.1.0.0 comes with Azure SDK 2.7.
  • Azure SDK 2.7 will not work with Visual Studio 2012.
  • Azure SDK 2.6 for VS2012 has Emulator 4.0.0.0. I don't know what Storage Client Library is compatible... I tried 4.3.0.0, 5.0.0.0, and 5.0.2, but had no luck

我的哲学与这件事的问题是...

My "philosophical" issues with this whole thing are...


  • 我能找到存储模拟器之间没有明显联系
    版本和存储客户端库版本....数字不
    匹配;没有错误,依赖性,或例外告诉
    你的关系;我找不到任何查询,交叉引用,或
    描述库的正确组合表。

  • 在只使用最新版本的理论并不因为工作
    过去,他们已经发布了存储客户端库的新版本
    (3.0.0.0)W / O工作模拟器,现在每个最新版本
    是单独依赖于该SDK可为您的构建
    环境(VS2012 VS VS2015)

据我所知,存储客户端库是不是在模拟器上技术上依赖......你不需要使用Azure存储模拟器。然而,这纯粹是很好,如果有些关系是一个软件畸形儿更容易一些像我弄清楚。

I understand the Storage Client Library isn't technically "dependent" on the emulator...you don't need the emulator to use Azure Storage. However, it would just be nice if some of these relationships were a little easier for a software oaf like me to figure out.

这篇关于Azure存储模拟器400错误的请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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