I ran into an issue this morning when trying to get the latest Azure Storage Emulator running on my Windows 10 (10565) workstation. After each time running the installation from the Web Platform Installer, it continually failed with the error:
CAQuietExec: Windows Azure Storage Emulator 4.2.0.0 command line tool CAQuietExec: Error: Cannot create database.
After spending a bunch of time trying different solutions that people had suggested, what finally ended up working for me was following this process:
- Open an elevated PowerShell window.
- Delete the LocalDB SQL database:
- sqllocaldb stop MSSQLLocalDB
- sqllocaldb delete MSSQLLocalDB
- Delete the raw Storage Emulator files (if you where running a previous version):
- del %USERPROFILE%\AzureStorageEmulatorDb*.mdf
- del %USERPROFILE%\AzureStorageEmulatorDb*.ldf
- Recreate the LocalDB SQL database:
- sqllocaldb start MSSQLLocalDB
Score one for your side, although I did not use powershell, a simple administrator command prompt worked for me. (PS couldn’t find the %USERPROFILE% env variable, but CMD could).
LikeLiked by 1 person
Thanks Keith.. I have been struggling with it for whole day.. Your steps did it for me too..
Thanks
LikeLiked by 1 person