Azure存储模拟器错误并且不启动 [英] Azure Storage Emulator error and does not start

查看:167
本文介绍了Azure存储模拟器错误并且不启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此错误是真的快把我逼疯了。 (终端在管理员模式下运行)

在Azure存储仿真器初始化的SQL Server 2014年:

  C:\\ Program Files文件(x86)的\\微软的SDK \\的Windows Azure \\存储模拟器> \\ wastorage
仿真器初始化-server MY-PC
Windows Azure的存储模拟器3.0.0.0命令行工具
存储模拟器已成功初始化,并准备使用。

错误时启动服务器:

  C:\\ Program Files文件(x86)的\\微软的SDK \\的Windows Azure \\存储模拟器> \\ wastorage
模拟器启动
Windows Azure的存储模拟器3.0.0.0命令行工具未处理的异常:System.TimeoutException:无法打开等待句柄。
   在Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessControll
er.InternalWaitForStorageEmulator(的Int32 timeoutInMilliseconds)
   在Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessControll
er.EnsureRunning(的Int32 timeoutInMilliseconds)
   在Microsoft.WindowsAzure.Storage.Emulator.StartCommand.RunCommand()
   在Microsoft.WindowsAzure.Storage.Emulator.Program.Main(字串[] args)


解决方案

检查,如果你正在运行的的BitTorrent / uTorrent的或使用端口10000的类似软件

检查史蒂夫马克思的博客文章有关的问题。 <一href=\"http://blog.smarx.com/posts/windows-azure-storage-emulator-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process\">http://blog.smarx.com/posts/windows-azure-storage-emulator-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process

在该职位消失的情况下,命令检查是否有其他软件使用的端口是:

  C:\\用户\\ smarx&GT;的netstat -p tcp的-ano | FINDSTR:10000
  TCP 127.0.0.1:10000 0.0.0.0:0 LISTENING 3672

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

Initialization of azure storage emulator in sql server 2014:

C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator>.\wastorage
emulator init -server MY-PC
Windows Azure Storage Emulator 3.0.0.0 command line tool
The storage emulator was successfully initialized and is ready to use.

Error when starting server:

C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator>.\wastorage
emulator start
Windows Azure Storage Emulator 3.0.0.0 command line tool

Unhandled Exception: System.TimeoutException: Unable to open wait handle.
   at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessControll
er.InternalWaitForStorageEmulator(Int32 timeoutInMilliseconds)
   at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessControll
er.EnsureRunning(Int32 timeoutInMilliseconds)
   at Microsoft.WindowsAzure.Storage.Emulator.StartCommand.RunCommand()
   at Microsoft.WindowsAzure.Storage.Emulator.Program.Main(String[] args)

解决方案

Check if you are running BitTorrent/uTorrent or similar software using port 10000.

Check Steve Marx' blog post about the issue. http://blog.smarx.com/posts/windows-azure-storage-emulator-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process

In case that post disappears, the command to check if any other software is using that port is:

C:\Users\smarx>netstat -p tcp -ano | findstr :10000
  TCP    127.0.0.1:10000        0.0.0.0:0              LISTENING       3672

这篇关于Azure存储模拟器错误并且不启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆