微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Azure应用服务找不到/index.html 500错误

如何解决Azure应用服务找不到/index.html 500错误

Angular项目:

我不太确定如何制作这首歌。我正在使用高级工具Kudu页面,并且有一个powershell窗口,显示index.html就在其中

D:\ home \ site \ wwwroot \ Dashboard \ index.html

在本地部署后,我可以正常访问网站

错误

Server cannot access application directory 'D:\home\site\wwwroot\Dashboard\index.html\'. 
The directory does not exist or is not accessible because of security settings.

Stacktrace:

[HttpException (0x80004005): Server cannot access application directory 'D:\home\site\wwwroot\Dashboard\index.html\'. The directory does not exist or is not accessible because of security settings.]
   System.Web.HttpRuntime.EnsureAccesstoApplicationDirectory() +12073934
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags,PolicyLevel policyLevel,Exception appDomainCreationException) +118

[HttpException (0x80004005): Server cannot access application directory 'D:\home\site\wwwroot\Dashboard\index.html\'. The directory does not exist or is not accessible because of security settings.]
   System.Web.HttpRuntime.FirstRequestinit(HttpContext context) +552
   System.Web.HttpRuntime.EnsureFirstRequestinit(HttpContext context) +122
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext context) +737

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。