Errors when launching Cosmos DB Emulator

1.1k Views Asked by At

I tried to launch Cosmos DB Emulator, but I get these 3 errors:

  • DocumentDb Master has stopped working
  • DocumentDb.GatewayService.exe has stopped working
  • DocumentDb Server has stopped working

Error pop-ups

3

There are 3 best solutions below

1
On

You can download emulator from Microsoft Download Center.Extract setup and run emulator exe.

Once you completed the setup, type Azure Cosmos DB Emulator in Start menu. Run it as administrator

If you are stuck at any point read Here

0
On

I think it was the problem about GatewayServiceStartup process.

To solve this, we can try to run the elevated command:

C:\windows\SysWOW64> lodctr /r

This problem is most often caused by incompatibility with local SQL server.

The familiar issue as yours: documentdb emulator gatewayservice crashing on startup

In addition, we can refer to the troubleshooting Chapter from this article for more information.

Hope it is helpful to you.

0
On

I had similar problem and gave up. Accidentally I found the solution after (AzureStorageEmulator 5.1 doesn't to start):

seems, I found the reason - the net access for local machine was closed somehow:( I have ran the command

netsh http add iplisten 127.0.0.1