azure local storage emulator issue 400 bad request

只谈情不闲聊 提交于 2020-01-24 12:44:07

问题


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

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.

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.


回答1:


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>


来源:https://stackoverflow.com/questions/18106272/azure-local-storage-emulator-issue-400-bad-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!