Azure WebJobs中的错误 [英] Error in Azure WebJobs

查看:76
本文介绍了Azure WebJobs中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个控制台应用程序,并设法将其上传到云中,并且计划将其每15分钟运行一次.控制台应用程序首次运行,结果成功,然后失败,说明连接字符串中有错误.有人可以对此进行说明.将不胜感激.

I have created a console app and managed to upload it to the cloud, and I have scheduled it to run every 15 minutes. The console app runs for the first time with success as result and thens fails stating an error in the connection string. Could someone shed light on this please. Would be greatly apprecited.

谢谢

错误消息如下:在此处输入图片描述

The error message follows:enter image description here

确保在Windows Azure网站配置中设置一个名为AzureJobsRuntime的连接字符串,其值类似于DefaultEndpointsProtocol = https; AccountName = NAME; AccountKey = KEY,指向Windows Azure WebJobs运行时记录的Windows Azure存储帐户被存储. 请访问有关配置连接字符串的文章,以获取有关如何在Windows Azure网站中配置连接字符串的更多信息.

Make sure that you are setting a connection string named AzureJobsRuntime in your Windows Azure Website configuration with a value similar to DefaultEndpointsProtocol=https;AccountName=NAME;AccountKey=KEY pointing to the Windows Azure Storage account where the Windows Azure WebJobs Runtime logs are stored. Please visit the article about configuring connection strings for more information on how you can configure connection strings in your Windows Azure Website.

推荐答案

您需要将AzureJobsRuntime设置为连接字符串(对于Azure存储帐户),您可以在Azure门户上的以下位置进行此操作:网站->您的网站->配置"选项卡->连接字符串.

You need to set AzureJobsRuntime as a connection string (for an Azure storage account), you can do that on the Azure portal under: Websites --> Your Website --> CONFIGURE tab --> connection strings.

这篇关于Azure WebJobs中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆