Reputation: 1981
Whyle starting cloud application (Azure storage emulator v 2.3) I got error:
Failed to initialize Windows Azure storage emulator
I have used this to configure sql express for this purpose and I was able to create database - WAStorageEmulatorDb32. But still got above error. Any idea? Thanks.
Edit
Here is what I get when started storage emulator with -inprocess option:
Upvotes: 1
Views: 5116
Reputation: 703
I encountered similar issues when updating to v2.5. I tried everything outlined in the various blogs and technet forums with no luck but it seems like the advice given was correct, just slightly different for my case.
c:\users\{user}\WAStorageEmulatorDb*.*
.
sqllocaldb stop v11.0
sqllocaldb delete v11.0
sqllocaldb create v11.0
CAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line tool
CAQuietExec: Error: Cannot create database.
CAQuietExec: Error 0xfffffff3: Command line returned an error.
CAQuietExec: Error 0xfffffff3: CAQuietExec Failed
sqllocaldb info
I noticed I had 4 instances, V11.0, two instances which hosted personal databases and a 4th one called MSSQLLocalDB. If you open (localdb)\MSSQLLocalDB
in Visual Studio - SQL Server Object Explorer you should should see WAStorageEmulatorDb
. The problem for me was that my WAStorageEmulatorDb wasn't being stored in v11.0 as it was for other people, so deleting v11.0
didn't help.sqllocaldb stop MSSQLLocalDB
sqllocaldb delete MSSQLLocalDB
sqllocaldb create MSSQLLocalDB
c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe init
followed by c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe start
started successfully.
c:\users\{user}\WAStorageEmulatorDb34.*
files.I hope this helps someone who comes across this in the future.
Upvotes: 5
Reputation: 481
I had a similar problem.
Refer Azure storage emulator failed to initialize for the solution.
It solved my problem.
I hope this helps you.
Upvotes: 0