【发布时间】:2023-03-10 00:05:01
【问题描述】:
我在 Visual Studio 2015 中创建了一个 Azure WebJob 并将其部署到 Azure。
尝试运行 WebJob 时出现此错误:
[03/12/2017 22:47:46 > 070c62: SYS INFO] Status changed to Running
[03/12/2017 22:47:47 > 070c62: ERR ]
[03/12/2017 22:47:47 > 070c62: ERR ] Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.HostingProcess.Utilities.Sync, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
[03/12/2017 22:47:47 > 070c62: ERR ] at Microsoft.VisualStudio.HostingProcess.EntryPoint.Main()
[03/12/2017 22:47:47 > 070c62: SYS ERR ] Job failed due to exit code -532462766
[03/12/2017 22:47:47 > 070c62: SYS INFO] Process went down, waiting for 60 seconds
[03/12/2017 22:47:47 > 070c62: SYS INFO] Status changed to PendingRestart
我已尝试搜索此错误,但找不到与此相关的任何内容。我不知道这是我的 WebJob 代码中的问题还是 Azure 中 WebJob 的配置问题。
是否有人对问题所在有一些想法或指示?
【问题讨论】:
-
你可以从this开始帮助隔离。
标签: azure azure-webjobs azure-webjobssdk