【问题标题】:Azure Webjob - Error While Deploying Scheduled JobAzure Webjob - 部署计划作业时出错
【发布时间】:2014-12-21 23:03:37
【问题描述】:

我正在尝试通过 Web-Deploy 将 Webjob 上传到我的 Azure 网站,但出现以下错误:

An error occurred while creating the WebJob schedule: An error occurred while sending the request.

有什么想法吗? (我是订阅的共同管理员)

网络作业设置:{ "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json", "webJobName": "WebJob1", "startTime": "2014-12-22T00:00:00+02:00", "endTime": null, "jobRecurrenceFrequency": "Hour", "interval": 1, "runMode": "Scheduled" }

【问题讨论】:

    标签: azure azure-webjobs


    【解决方案1】:

    所以。我正是这个问题。该网络作业不会与我的网站一起发布。原来我有一个现有的发布配置文件到 webjob 项目本身设置的不同 web 应用程序。

    这就是我所做的:

    • 我从 azure 门户中删除了旧的调度程序集合和旧的 Web 应用程序。
    • 然后我从 webjob 的项目中删除了发布配置文件文件夹(在 Properties 文件夹中)。
    • 最后,我重新发布了网站,嘿,很快,网络作业就发布了。

    【讨论】:

      【解决方案2】:

      errer的发生还有其他意义吗?

      希望this post 会有所帮助。

      【讨论】:

        猜你喜欢
        • 2021-11-09
        • 1970-01-01
        • 2015-10-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-12-07
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多