Azure website message “You do not have permission to view this directory or page.”. What to do?

前端 未结 10 1913
陌清茗
陌清茗 2020-11-28 11:54

After I published an ASP.NET Core app to Azure from Visual Studio 2017 I am getting this message when I click on the app url:

It was working fine before. Is

10条回答
  •  时光取名叫无心
    2020-11-28 12:20

    From the error description, it is not very clear about what went wrong here.

    You may check whether the deployed files are available or not using Kudu Console.

    Also, make sure that your startup file (For ex: index.htm) is added to the default documents section.

    I would suggest you refer Enable diagnostics logging for web apps in Azure App Service and Troubleshoot ASP.NET Core on Azure App Service to check the complete error details and root cause.

提交回复
热议问题