6
votes

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

Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpStatusCode actualStatusCode, T retVal, StorageCommandBase`1 cmd, Exception ex) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\Common\Shared\Proto col\HttpResponseParsers.Common.cs:line 50 ....

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

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

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?

1

1 Answers

4
votes

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.

Sorry for the inconvenience!

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