Windows Azure Storage Emulator failed to install

For those who has new Azure Storage Emulator 4.5 and SQL Server 2016. As MWood mentioned, check c:\users[UserProfile] directory and delete any AzureStorage* databases found.

Then open command window and write same commands, but change database to V13 (the number depends on the SQL server database version installed on your machine).

sqllocaldb stop v13.0
sqllocaldb delete v13.0
sqllocaldb create v13.0

enter image description here

Then install Azure SDK tools again.


There may be an issue with the sqllocaldb user database v11.0 during the install. You need to recreate it (see below).

As far as I'm concerned, my first install attemp left some files in my c:\users[user] directory :

  • WAStorageEmulatorDb30.mdf
  • WAStorageEmulatorDb30_log.ldf

(Your version numbers may differ.) The sqllocaldb logs would mention these files still existed and it would not erase them.

I just deleted them manually. Recreated the v11.0:

  • sqllocaldb stop v11.0
  • sqllocaldb delete v11.0
  • sqllocaldb create v11.0

And reinstalled.