As sudden, I started getting “Azure storage emulator failed to initialize for Azure SDK 2.6” when I try to run my cloud service in emulator. After searching on google for some time I found the solution. Here is that solution step by step. I am posting it here as I did not find a properly explained solution any where else on internet.
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.
Step 4 : Edit WAStorageEmulator.exe with Notepad++ (any editor).
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.