天青发布了Web应用程序错误,但该应用程序在本地Visual Studio 2017中运行良好 [英] azure published web app errors out, yet app runs fine in local visual studio 2017
问题描述
启动应用程序时发生错误.
An error occurred while starting the application.
参数名称:path
Parameter name: path
推荐答案
As per the error message, the path is not available. I suggest you, access your site using FTP or Kudu console and check if that directory is available or not.
查看GitHub中概述的建议 部署与运行时问题 ,看看是否有帮助.参考帖子 在天蓝色时文件结构 了解文件集&目录放置在Azure Web App上,并确保已正确添加文件.
Check out the suggestions outlined in the GitHub Deployment vs runtime issues and see if it helps. Refer to the post File structure on azure to know the sets of files & directories on Azure Web App and ensure the files are added appropriately.
- -------------------------------------------------- --------------------------------------
如果此答案有帮助,请单击标记为答案"或上投票".要提供有关您的论坛体验的其他反馈,请单击
span> .
------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click
here.
这篇关于天青发布了Web应用程序错误,但该应用程序在本地Visual Studio 2017中运行良好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!