蔚蓝的本地存储模拟器问题400错误的请求 [英] azure local storage emulator issue 400 bad request

查看:173
本文介绍了蔚蓝的本地存储模拟器问题400错误的请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到这个网站上。这可能是微不足道的,但错误信息是pretty误导。

I could not find this one on the site. It may be trivial, but the error message is pretty misleading.

当你尝试事情蔚蓝的SDK和模拟器本地(存储和计算模拟器)在调试时,您可能这些模拟器的初始化过程中出现以下错误:

When you try out things with the azure sdk and the local emulators (storage and compute emulators) while debugging, you may get the following error during initialization of those emulators:

,因为它用于通过另一进程的方法,不能访问该文件。

The process cannot access the file because it is used by an another process.

此外,如果你想从code测试的东西,你要访问的Blob存储模拟器,你可能会得到400结果错误的请求。

Moreover, if you want to test things from the code and you want to access the blob storage emulator, you may get 400 Bad request as a result.

推荐答案

您可以配置此。打开DSServiceLDB.exe.config下的文件C:\\ Program Files文件\\微软的SDK \\的Windows Azure \\模拟器\\ devstore。

You can configure this. Open the "DSServiceLDB.exe.config" file under "C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\devstore".

里面的档案,调整本节中的值:

Inside the file, tweak the values in this section:

<services>
    <service name="Blob" url="http://127.0.0.1:10000/"/>
    <service name="Queue" url="http://127.0.0.1:10001/"/>
    <service name="Table" url="http://127.0.0.1:10002/"/>
</services>

这篇关于蔚蓝的本地存储模拟器问题400错误的请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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