Azure Storage Emulator 400 Bad Request

前端 未结 4 1547
梦毁少年i
梦毁少年i 2021-01-12 04:02

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 valu

4条回答
  •  耶瑟儿~
    2021-01-12 04:49

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

    • 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...

    • I can find no discernible connection between Storage Emulator versions and Storage Client Library versions....The numbers don't "match"; there are no errors, dependencies, or exceptions that tell you the relationship; I can't find any look-up, cross-reference, or table that describes the proper combination of libraries.
    • The "just use the latest version" theory doesn't work because in the past they have released new versions of the Storage Client library (3.0.0.0) w/o a working Emulator and now the "latest version" of each is separately dependent on which SDK is available for your build environment (VS2012 vs VS2015)

    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.

提交回复
热议问题