azure应用程序服务找不到/index.html500错误

jbose2ul  于 2021-06-21  发布在  Kudu
关注(0)|答案(0)|浏览(261)

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.

堆栈跟踪:

[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

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题