WebJobs - Microsoft Azure WebJobs 仪表板的配置设置不正确
WebJobs - The configuration is not properly set for the Microsoft Azure WebJobs Dashboard
我创建了一个 Web 作业并部署了它。出现错误:
The configuration is not properly set for the Microsoft Azure WebJobs
Dashboard. In your Microsoft Azure Website configuration you must set
a connection string named AzureWebJobsDashboard by using the following
format DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY
pointing to the Microsoft Azure Storage account where the Microsoft
Azure WebJobs Runtime logs are stored.
我已阅读:我必须通过门户将 AzureWebJobsDashboard 添加为连接字符串。
我做到了:
(我确定,我使用 https 协议)
已保存,重新启动应用程序。但是错误是一样的!为什么会这样以及如何解决?
问题出在我的代码中(当时它是一个虚拟代码),但由于未知原因显示了有关 AzureWebJobsDashboard 的错误(即使设置了 AzureWebJobsDashboard)。修复错误后,我看到以下页面:
因此,正如我们所见,Web 作业已成功完成,但显示了有关 AzureWebJobsDashboard 的 "fake" 错误。
此外,根本不需要通过门户配置任何连接字符串。现在,将其设置为 app.config 就足够了。 Web 作业工具的版本是 15.0.31201.0
我创建了一个 Web 作业并部署了它。出现错误:
The configuration is not properly set for the Microsoft Azure WebJobs Dashboard. In your Microsoft Azure Website configuration you must set a connection string named AzureWebJobsDashboard by using the following format DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY pointing to the Microsoft Azure Storage account where the Microsoft Azure WebJobs Runtime logs are stored.
我已阅读:
我做到了:
(我确定,我使用 https 协议)
已保存,重新启动应用程序。但是错误是一样的!为什么会这样以及如何解决?
问题出在我的代码中(当时它是一个虚拟代码),但由于未知原因显示了有关 AzureWebJobsDashboard 的错误(即使设置了 AzureWebJobsDashboard)。修复错误后,我看到以下页面:
因此,正如我们所见,Web 作业已成功完成,但显示了有关 AzureWebJobsDashboard 的 "fake" 错误。
此外,根本不需要通过门户配置任何连接字符串。现在,将其设置为 app.config 就足够了。 Web 作业工具的版本是 15.0.31201.0