3

Visual Studio を使用して Azure Function をローカルで実行し、時限トリガーを実行しようとしています。これを local.settings.json に設定しました。

"AzureWebJobsStorage": "UseDevelopmentStorage=true",

しかし、実行すると、「無効なストレージ アカウント 'devstoreaccount1'.

エミュレーターを起動しようとしました (管理者、ファイアウォールをオフにしました)、このエラーが発生しました。デフォルトのインストール、変更なし。

C:\Windows\system32>cd C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator

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

Granting database access to user Robin-PC\Robin.
Database access for user Robin-PC\Robin 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.2.0.0 command line tool

Unhandled Exception: System.TimeoutException: Unable to open wait handle.
   at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.InternalWaitForStorageEmulator(Int32 timeoutInMilliseconds)
   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)

C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>
4

2 に答える 2