网络作业运行错误 [英] web job run error
问题描述
我使用python创建了一个exe文件,并上传到文件资源管理器D:\ home \ data \ install \ temp.exe
I created an exe using python and uploaded to file explorer D:\home\data\install\temp.exe
我可以在kudu中运行此exe文件而没有任何问题
I can run this exe without any issues in kudu
我创建了一个工作并在.zip文件夹中上传了.bat文件
I created a wed job and uploaded a .bat file in .zip folder
批处理文件在我的数据中调用exe,如下所示;
batch file calls the exe in my data as shown below;
@echo off
开始/d D:\ home \ data \ install \ temp.exe
@echo off
start /d D:\home\data\install\ temp.exe
当我手动运行作业时,出现以下错误.使用webjob时是否需要添加任何其他库?
When I run the job manually, I get following error. Do I need to add any other libraries while using webjob?
kiran gavini
kiran gavini
推荐答案
有关类似问题的讨论 此处;您可以查看csproj,以查看其是否使用最新版本. ,并且 确保Webjobs是 dotnet 发布
There has been a discussion on a similar issue here; you may review the csproj to see if its using the latest version. And, also ensure that the Webjobs is using the artifacts produced by dotnet publish command. Let us know how it goes for further investigation.
这篇关于网络作业运行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!