Microsoft.WindowsAzure.Storage更新到V8.2.1.0破坏了我的代码 [英] Microsoft.WindowsAzure.Storage update to V8.2.1.0 has broken my code

查看:77
本文介绍了Microsoft.WindowsAzure.Storage更新到V8.2.1.0破坏了我的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个WebJob,将项目放入队列中,在我将 Microsoft.WindowsAzure.Storage 更新为 v8.2.1.0 并我现在收到此错误

I've created a WebJob that places items in a queue, this process worked perfectly well until I updated Microsoft.WindowsAzure.Storage to v8.2.1.0 and I'm now getting this error

无效的存储帐户'devstoreaccount1'.请确保您的 凭据是正确的.'

'Invalid storage account 'devstoreaccount1'. Please make sure your credentials are correct.'

在更新之前,它运行得非常好,这是一个问题吗?解决办法是什么?

It was working perfectly well until the update, is this an issue? whats the fix?

推荐答案

根据此

客户端库使用特定的存储服务版本.为了将Storage Client Library与Storage Emulator一起使用,必须使用相应的最低版本的Azure Storage Emulator.较旧版本的Storage Emulator没有必要的代码来成功响应新请求. 当前,此库所需的Azure存储模拟器的最低版本为5.4.如果遇到VersionNotSupportedByEmulator(400错误请求)错误,请更新存储模拟器

The Client Library uses a particular Storage Service version. In order to use the Storage Client Library with the Storage Emulator, a corresponding minimum version of the Azure Storage Emulator must be used. Older versions of the Storage Emulator do not have the necessary code to successfully respond to new requests. Currently, the minimum version of the Azure Storage Emulator needed for this library is 5.4. If you encounter a VersionNotSupportedByEmulator (400 Bad Request) error, please update the Storage Emulator.

但是我还从此页面下载了存储模拟器. Storage Emulator版本当前为5.1.

But I have also downloaded the Storage Emulator from this page. The Storage Emulator version currently is 5.1.

因此,我建议您首先在此网站中创建Feed,然后等待存储模拟器团队更新版本.

So I suggest you could firstly create a feed at this site and wait for the storage emulator team update the version.

当前,如果要使用Storage Emulator进行测试,建议您使用8.2.0以下的版本.

Currently, if you want to use Storage Emulator to test, I suggest you could use the version below 8.2.0.

存储SKD发行说明.

这篇关于Microsoft.WindowsAzure.Storage更新到V8.2.1.0破坏了我的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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