Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CosmosDB Emulator wont start #470

Open
Frankwayne opened this issue Apr 5, 2018 · 3 comments
Open

CosmosDB Emulator wont start #470

Frankwayne opened this issue Apr 5, 2018 · 3 comments

Comments

@Frankwayne
Copy link

Frankwayne commented Apr 5, 2018

Not sure where to post this issue. I have another ticket opened at MicrosoftDocs/azure-docs#6788

I cant seem to start the Cosmos DB Emulator. I have windows 10 and it appears to install fine, but when I click to start it up I see the tray icon appear and then it disappears before I can click on it. The localhost landing page "https://localhost:8081/_explorer/index.html" does not appear and I cannot navigate to it either

I have tried to restart my machine. Uninstall the application. Turn off the IIS web server I use for debugging but nothing appears to work.

I have ran the command "lodctr /R" and got a successful message back from running it, it still wont start.

I tried to look for the crash dumps at c:\Users\user_name\AppData\Local\CrashDump but I see no crashDump files

I have tried to launch the Emulator as an administrator but it still wont start.

I tried to Collect trace files with the following steps

  1. cd /d "%ProgramFiles%\Azure Cosmos DB Emulator"
  2. CosmosDB.Emulator.exe /shutdown. Watch the system tray to make sure the program has shut down, it may take a minute. You can also just click Exit in the Azure Cosmos DB emulator user interface.
  3. CosmosDB.Emulator.exe /starttraces
  4. CosmosDB.Emulator.exe
  5. Reproduce the problem. If Data Explorer is not working, you only need to wait for the browser to open for a few seconds to catch the error.
  6. CosmosDB.Emulator.exe /stoptraces
  7. Navigate to %ProgramFiles%\Azure Cosmos DB Emulator and find the docdbemulator_000001.etl file.
  8. Send the .etl file along with repro steps to askcosmosdb@microsoft.com for debugging.

but I dont get any trace files either. Im not sure what is wrong at this point in time

@David-Noble-at-work
Copy link

Please be sure that you've downloaded and installed the latest version of the Emulator from here. If you send an e-mail to askcosmosdb@microsoft.com I'll work with you directly.

Thanks.

@Frankwayne
Copy link
Author

@David-Noble-at-work Thanks David, I have uninstalled and installed that download link version 1.21.0.0 and I am still having the same issue. I have sent off an email with the details of my issue from the following issue case.

MicrosoftDocs/azure-docs#6788

@ToddTaylor
Copy link

ToddTaylor commented Oct 17, 2018

When I tried to upgrade the emulator to the latest version, I ran into a similar issue where nothing worked following the uninstall/reinstall.

What finally fixed the issue for me was:

  • Uninstall the old/non-working version
  • Restart my PC
  • Navigate to the installation path of the old install in Windows Explorer and physically delete the old install folder (C:\Program Files\Azure Cosmos DB Emulator)
  • Install the new version and cross your fingers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants