启动Azure存储模拟器时出现PlatformNotSupportedException错误

我已经安装了.NET的Azure库和Azure SDK,但是无法启动Azure存储模拟器。它给了我这个错误: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)
iCMS 回答:启动Azure存储模拟器时出现PlatformNotSupportedException错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2244048.html

大家都在问