Azure App Service cant find /index.html. 500 Error

0

Angular Project:

I'm not really sure how to make heads or tails of this one. I'm in advanced tools, the Kudu page, and I've got a powershell window showing index.html is right there

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

I can access the website just fine when deployed locally

Error

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
angular
azure
server
kudu
azure-appservice
asked on Stack Overflow Oct 22, 2020 by Chris Phillips • edited Oct 22, 2020 by Chris Phillips

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0