Azure Storage Emulator error and does not start

后端 未结 22 1570
遥遥无期
遥遥无期 2020-12-22 22:28

This error is really driving me crazy. (Terminal running in administrator mode)

Initialization of azure storage emulator in sql server 2014:

C:\\Prog         


        
相关标签:
22条回答
  • 2020-12-22 22:58

    There is some info here that might help:

    AzureStorageEmulator.exe init –server MyMachine –sqlinstance **.** –forcecreate –inprocess
    

    See this link.

    0 讨论(0)
  • 2020-12-22 22:59

    I had same issue since I had to rejoin my machine to the domain and the user profile got recreated. I noticed that it was starting with option -inprocess from elevated cmd. Then I realized that it has to do with urlac and I solved deleting old ones with following commands:

    (from elevated cmd)
    netsh http delete urlacl url=http://127.0.0.1:10000/
    netsh http delete urlacl url=http://127.0.0.1:10001/
    netsh http delete urlacl url=http://127.0.0.1:10002/
    

    After that simply start as usual, the tool will recreate what necessary. Now I can use it without elevation.

    0 讨论(0)
  • 2020-12-22 23:01

    The issue maybe port 10000 is being occupied. Storage emulator runs on port 10000. So you need to kill that process. On windows, open cmd as admin and run following commands.

    First find the process occupying port 10000

    netstat -ano | findstr :10000
    

    kill the process

    taskkill /PID <process id> /F
    

    Now try starting emulator again.

    0 讨论(0)
  • 2020-12-22 23:02

    Make sure the user that initialized the emulator is the same as the user that is starting the emulator. Note that if you elevate as a different user to run initialization, then the initialization only applies to that user.

    If that doesn't help, you can try to launch the emulator with the -inprocess flag to get a more detailed error message:

    WAStorageEmulator start -inprocess
    
    0 讨论(0)
  • 2020-12-22 23:03

    if you are trying to start "Azure storage emulator" through Visual Studio=>Server explorer, make sure that you are starting visual studio as an administrator. I was able to get this issue fixed by running the "Azure storage emulator" on the command prompt, by running the command prompt as an administrator.

    0 讨论(0)
  • 2020-12-22 23:03

    I encountered the same problem. I found out that, the port 10000 is being used by another process. In my case, utorrent was using it. It could be Bittorrent if that's what you are using. After uninstalling it, it started smoothly with altering my data.

    If your torrent downloader means so much to you, you can consider solving your issue from that angle. I hope this works.

    0 讨论(0)
提交回复
热议问题