我刚刚安装了 Windows Azure SDK。它附带了 Windows Azure 存储模拟器 3.0 版。当我尝试启动模拟器时,它初始化成功(在提示我输入系统管理员密码后),但无法启动(再次在提示我输入系统管理员密码后)。
我得到的异常(exception)是:
Unhandled Exception: System.TimeoutException: Unable to open wait handle. at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.InternalWaitForStorageEmulator(Int32 timeoutInMilliseconds)
我当前的用户不是系统管理员,但我有系统管理员帐户的密码。
有人遇到过这种情况吗?
最佳答案
存储模拟器需要以提升的权限运行一次性初始化。通过使用不同的用户来提升,看起来模拟器可能仅为该用户进行了初始化。您需要以当前用户身份运行初始化,但具有提升的权限。一旦为用户初始化了模拟器,您将不需要提升的权限来运行模拟器。
关于azure - WAStorageEmulator.exe 启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23267098/