AzureWebJobsDashboard Configuration Error

前端 未结 4 2021
自闭症患者
自闭症患者 2021-02-05 03:26

I created a new Azure WebJob project in Visual Studio 2015 using .NET Framework 4.6.

In the app.config, I set three connection strings:

  1. AzureWebJobsDashboa
相关标签:
4条回答
  • 2021-02-05 03:27

    You need to set the AzureWebJobsDashboard connection string in the portal in your Web App Application Settings blade (steps to do that here). The Dashboard runs as a separate site extension and doesn't have access to app.config. Add the connection string to the connection strings section on the settings blade.

    You can add your other connection strings there as well (e.g. AzureWebJobsStorage) rather than storing in app.config if you wish for security/consistency, however the WebJob can read AzureWebJobsStorage from app.config.

    0 讨论(0)
  • 2021-02-05 03:36

    Right now (version of Web Job Tools is 15.0.31201.0) no necessary to configure any connection strings from azure portal, enough to set it in app.config file of web job

    0 讨论(0)
  • 2021-02-05 03:45

    The change needs to be done in App Services settings in Azure Portal

    For that

    1. Open the Azure (Management) Portal at https://portal.azure.com
    2. Goto Home > App Services
    3. Select the App service that is hosting your WebJob
    4. Goto Settings > Choose Application settings
    5. Scroll down to Connection strings
    6. Add a new connection string with Name as 'AzureWebJobsDashboard' and Value as . Choose Type as 'Custom'
    7. Press Save Button ( at the Page Top)

    All done! Check your Webjobs Dashboard - the Warning and Error message at top should be gone now.

    0 讨论(0)
  • 2021-02-05 03:49

    I was having this problem too.

    My storageaccount kind is StorageV2 (general purpose V2)

    I had both AzureWebJobsDashboard and AzureWebJobsStorage correctly set in the App Service Configuration.

    But, the storage account had a Minimum TLS version set to 1.2

    I found that changing this to 1.0 was needed for the WebJobs Dashboard to display correctly and for the WebJobs to run ok.

    0 讨论(0)
提交回复
热议问题