[英]A first chance exception of type 'Microsoft.WindowsAzure.Storage.StorageException' occurred in Microsoft.WindowsAzure.Storage.dll
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 我也检查了这个问题,但无法找到我的答案: 抛出“Microsoft.WindowsAzure.StorageClient.StorageClientException”类型的异常
this is the code: 这是代码:
storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
queueClient = storageAccount.CreateCloudQueueClient();
rawMessageQueue = queueClient.GetQueueReference("rawMessageQueue");
private CloudQueue rawMessageQueue;
var QueueExists = rawMessageQueue.Exists();
Just update the following dlls: 只需更新以下dll:
Microsoft.WindowsAzure.Storage.dll Microsoft.WindowsAzure.Storage.dll
Microsoft.WindowsAzure.Configuration.dll Microsoft.WindowsAzure.Configuration.dll
Then rebuild . 然后重建。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.