Azure storage emulator failed to initialize for Azure SDK 2.4

Open MS Azure Command Prompt. Type (depending on your local db name):

SqlLocalDb stop projectv12

SqlLocalDb delete projectv12

Then go to

C:\Users(admin)\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances

and I deleted all instance in there. Then try re-install the Azure storage emulator. This worked for me.


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).

Step 2 : In safe mode go the path C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator.

Step 3 : Search for WAStorageEmulator.exe - config file.

enter image description here

Step 4 : Edit WAStorageEmulator.exe with Notepad++ (any editor).

enter image description here

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.

I hope this helps.


I had a similar problem and it sounds like one of the answers posted here: This post talks about removing old mdf files so you can install again

This seems to be closer to what you are experiencing.

I hope this helps

Tags:

Azure