I\'ve had the Azure SDK 2.5 and Tools for VS2013 installed and working fine for quite a while. Today I installed the SDK and Tools for VS2015 and now my Azure Storage Emulat
You can use the following process to recover from most init problems involving the database. Note that any data in the emulator currently will be lost.
Delete the SQL instance:
sqllocaldb stop MSSQLLocalDB
sqllocaldb delete MSSQLLocalDB
Now delete the following database files:
%USERPROFILE%\AzureStorageEmulatorDb*.mdf
%USERPROFILE%\AzureStorageEmulatorDb*.ldf
Finally, recreate the sql instance:
sqllocaldb start MSSQLLocalDB
Then retry the emulator init.
I tried to clean up localdb but didn't work, so anyone has an issue running storage emulator with local db can benefit from this command to run it on SqlExpress.
Command: AzureStorageEmulator.exe init -server . -sqlinstance SQLEXPRESS -forcecreate