0

我已经为 .NET 安装了 Azure 库和 Azure SDK,但我无法启动 Azure Storage Emulator。它给了我这个错误:System.PlatformNotSupportedException: Operation is not supported on this platform.

我尝试重新安装 SDK、netcore 和存储模拟器,并以管理员身份运行这些命令。但没有运气。任何想法?

C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe init
Windows Azure Storage Emulator 5.10.0.0 command line tool
Found SQL Instance (localdb)\MSSQLLocalDB.
Creating database AzureStorageEmulatorDb510 on SQL instance '(localdb)\MSSQLLocalDB'.

Granting database access to user myuser.
Database access for user myuser was granted.

Initialization successful. The storage emulator is now ready for use.
The storage emulator was successfully initialized and is ready to use.


C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe start
Windows Azure Storage Emulator 5.10.0.0 command line tool

Unhandled Exception: System.PlatformNotSupportedException: Operation is not supported on this platform.
   at System.Net.HttpListener..ctor()
   at Microsoft.WindowsAzure.Storage.Emulator.Controller.CheckStoragePrerequisites.CheckPortReservation(Action`1 showErrorMessage)
   at Microsoft.WindowsAzure.Storage.Emulator.Controller.CheckStoragePrerequisites.CheckPrerequisites(Action`1 showErrorMessage, Boolean& fixWithInit)
   at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.EnsureRunning(Int32 timeoutInMilliseconds)
   at Microsoft.WindowsAzure.Storage.Emulator.Commands.StartCommand.RunCommand()
   at Microsoft.WindowsAzure.Storage.Emulator.Program.Main(String[] args)
4

0 回答 0