问题描述
我正在学习如何使用微软的Azure工具Visual Studio开发以Azure云服务的的Azure工具。
I was learning how to use the Microsoft Azure Tools for Visual Studio to develop an Azure cloud service at :"Getting Started with the Azure Tools for Visual Studio".
我成功地完成以下步骤:
1.安装Azure工具。
2.创建Azure云服务。
I successfully completed the following steps:1. Install the Azure tools.2. Create an Azure cloud service.
第三步是构建和调试云服务,在那里我被卡住了。
调试时,我得到一个错误无法初始化微软的Azure存储模拟器。
3rd step was build and debug the cloud service, where i was stuck.While debugging i got an error "Failed to initialize Microsoft Azure Storage Emulator".
我曾尝试在各网站提供给初始化存储模拟器各种方法,但他们都不为我工作。
I did try various methods given on various websites to initialize the Storage Emulator, but none of them worked for me.
当我试图命令 WAStorageEmulator.exe的init
,我得到一个错误无法创建数据库。
When I was trying the command WAStorageEmulator.exe init
, i got an error "cannot create database".
任何帮助将大大AP preciated。
Any help would be greatly appreciated.
推荐答案
第1步:启动您的系统在计算机开机或重启轻按F8键进入安全在安全模式下(后立即模式)。
Step 1 : Start your system in safe mode (Immediately after the computer is powered on or restarted tap the F8 key to enter safe mode).
第2步:在安全模式下进入路径的 C:\\ Program Files文件(x86)的\\微软的SDK \\的Azure \\存储模拟器
Step 2 : In safe mode go the path C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator.
第3步:搜索 WAStorageEmulator.exe - 配置文件
Step 3 : Search for WAStorageEmulator.exe - config file.
第四步:编辑 WAStorageEmulator.exe 用记事本++(任何编辑器)
Step 4 : Edit WAStorageEmulator.exe with Notepad++ (any editor).
第5步:更改端口号,如图上述快照。
(默认情况下,端口号将是10000,10001,10002)。
Step 5 : Change the port numbers as shown in the above snapshot.(By default the port numbers will be 10000, 10001, 10002).
<services>
<service name="Blob" url="http://127.0.0.1:30000/"/>
<service name="Queue" url="http://127.0.0.1:30001/"/>
<service name="Table" url="http://127.0.0.1:30002/"/>
</services>
第六步:保存文件并重新启动系统在正常模式和运行程序
Step 6 : Save the file and restart your system in normal mode and run the program.
我希望这有助于。
这篇关于Azure存储仿真器初始化失败的Azure SDK 2.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!