我在部署我的web应用程序时出错了。错误的标题是Could not open Source file: Could not find a part of the path
‘无法打开源代码文件:找不到路径'E:\ARCHIVES\Projects\Main\Jahan.Handicraft\Jahan.Handicraft.Web.Mvc.UmbracoCms.App\obj\Release\AspnetCompileMerge\TempBuildDir\App_Plugins\UmbracoForms\Data\Web.config;\App_Plugins\UmbracoForm
问题描述
我遵循将ML模型作为web服务部署到Azure。
模型已成功上传(图1),但当我创建web服务端点(图2)时,它失败了。
我是云计算新手,对如何解决这个问题仍然感到困惑。“部署日志”选项卡仅包含以下简短信息。
container "predict" in pod "wk-caas-f62cbd87d3e3400a8fffc23a20f0744e-8c212518c5f6b7404584eb194515f3a1-pod" is waiting to start: PodInitializing
下面是我在部署中使用的模型和源代码:
我花了一天的时间试图弄清楚Azure DevOps中的XML转换错误,但我似乎无法解决这个问题。在本地,配置转换运行良好,我要部署到的其他环境的配置转换也在Azure DevOps中运行。 终止IIS Web App部署任务时,日志中显示的错误为: 2021-02-26T15:29:49.9263250Z ##[error]Error: XML transformation error while transforming C:\...\Web.config using C:\...\Web.Live.config. 显然,我已经去掉了Azure DevOps应用的长文件路径。 在IIS部署