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

前端 未结 10 1935
陌清茗
陌清茗 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:31

    Just to add to the solutions: in my case I updated the application but the application pool was set to "Always On" so something had "confused it". All I had to do was:

    • go to the site settings in the Azure portal
    • then select configuration under Settings
    • then select the General Settings tab on the configuration page
    • On the General settings tab switch "Always On" to Off
    • and reconnect to your site as normal.
    • When the site is back up and running switch "Always On" back to On.

提交回复
热议问题