The specified CGI application encountered an error and the server terminated the process

后端 未结 11 1334
轮回少年
轮回少年 2020-11-28 12:32

I am hosting a asp.net 5 application on azure, the code is complied for beta8, the application runs fine on the local environment and when i publish the code on the azure si

11条回答
  •  情歌与酒
    2020-11-28 13:08

    I was able to solve this issue by removing forwardWindowsAuthToken from the web.config file under wwwroot.

    1. Navigate to src/ProjectName/wwwroot
    2. Open the web.config
    3. In the httpPlatformremove the forwardWindowsAuthToken="true/false" property

    Redeploy and mine worked fine.

    See here https://github.com/aspnet/Hosting/issues/364 for plenty of discussion

提交回复
热议问题