Reputation: 1658
I am trying to use a queue and here is the exception i am getting:
A first chance exception of type 'Microsoft.WindowsAzure.Storage.StorageException' occurred in Microsoft.WindowsAzure.Storage.dll
Additional information: The remote server returned an error: (400) Bad Request.
I also checked this question but couldnt find my answer: Exception of type 'Microsoft.WindowsAzure.StorageClient.StorageClientException' was thrown
this is the code:
storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
queueClient = storageAccount.CreateCloudQueueClient();
rawMessageQueue = queueClient.GetQueueReference("rawMessageQueue");
private CloudQueue rawMessageQueue;
var QueueExists = rawMessageQueue.Exists();
Upvotes: 5
Views: 6330
Reputation: 11
Just update the following dlls:
Microsoft.WindowsAzure.Storage.dll
Microsoft.WindowsAzure.Configuration.dll
Then rebuild .
Upvotes: 1