

See the output in the console C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe init

possible work arounds on stackoverflow - azure storage emulator fails to init & Error while starting Storage Emulator.the ports 10000-10002 weren't used by other App.Removing/manually creating the AzureStorageEmulator510.mdf also didn't work.The localdb is fine, I could connect it via sqllocaldb utility and SSMS.Same there, I am using win10 21H1, the following possible situations have been ruled out: I will try moving the emulator as per the answer found: Unhandled Exception: System.TimeoutException: Unable to open wait handle.Īt .(Int32 timeoutInMilliseconds)Īt .(Int32 timeoutInMilliseconds)Īt .()Īt .Program.Main(String args)ĪzureStorageEmulator.exe status suggests it wants to use ports 10000-10002 and netstat -abno suggests Docker is already using 10000, 10001 Now produces Windows Azure Storage Emulator 5.10.0.0 command line tool 3 (I also used the sqllocaldb subcommands to restart it manually)Īt this point AzureStorageEmulator.exe init succeeded (I stopped getting "Cannot create database 'AzureStorageEmulatorDb510'")ĪzureStorageEmulator.exe start still fails. Install the latest Cumulative Update for SQL Server 14 ('2017').sqllocaldb i MSSQLLocalDB showed it was running an old version.Run sqllocaldb s to start the MSSQLLocalDB database.
