Windows Azure Storage Emulator failed to install

Rahul Patil picture Rahul Patil · Apr 5, 2014 · Viewed 19.4k times · Source

I almost wasted my whole day trying to install Windows Azure Storage Emulator but somehow it is not getting installed..

The log is showing me this error : Sql instance not found. I tried re-installing Sql server 2012 but it did not help. It is not able to find Sql instance at all..

Here is the detailed log : http://pastebin.com/KUW4mjuf

I tried googling around but ended up with no solution at all.

:-( I can't go ahead without Azure Storage emulator..

I hope somebody here will help.

Answer

OA1015 picture OA1015 · Apr 11, 2014

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.