2017-08-31 12 views
1

Ich versuche Azure Funktion zu laufen lokal mit Visual Studio und zeitlich Trigger zu tun, und ich habe dies in local.settings.json gesetztAzure Storage Emulator nicht gestartet

"AzureWebJobsStorage": "UseDevelopmentStorage=true", 

Aber wenn ich es laufen, es hat einen Fehler „Ungültige Speicherkonto‚devstoreaccount1‘.

ich versuche, den Emulator (admin, Firewall ausgeschaltet) zu starten, diesen Fehler hat. Standard-Installation, keine Änderungen.

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> 

Antwort

1

nach vielen t Ich habe herausgefunden, warum. Der Standard-10000-Port wird von einem Hintergrundprozess belegt. Ich folgte dieser Anweisung, um herauszufinden, welcher Prozess und tötete es, dann wird es funktionieren.

https://stackoverflow.com/a/43787993/283598

Verwandte Themen