gpt4 book ai didi

c# - 创建 Web 作业计划时出错

转载 作者:太空狗 更新时间:2023-10-29 19:52:22 25 4
gpt4 key购买 nike

我的源代码托管在 TFS 2012 本地安装中。当我尝试从 Visual Studio 2015 将 Azure WebJob 发布到 Azure 时,出现以下错误。

Error : An error occurred while creating the WebJob schedule: Response status code does not indicate success: 409 (Conflict).

WebJob 确实是在 Web 应用程序下创建的,但它设置为“按需”而不是“计划”。

当我打开 Fiddler 尝试解决此问题时,出现以下错误。

Error ERROR_CONNECTION_TERMINATED: Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.)

如何将计划的 WebJob 发布到 Azure?或者至少得到更具体的错误?

最佳答案

我遇到了同样的问题,结果发布过程失败了,因为我将其设置为每 10 分钟重复一次,而该应用程序本应在免费套餐中运行。正如 MS 所描述的:

https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-deploy-webjobs/

可以使用除几分钟内定义的频率之外的所有频率进行部署。

关于c# - 创建 Web 作业计划时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31991519/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com