ASP.NET Core 2.1 Preview 2 App Not working on Azure App Service

后端 未结 7 1187
温柔的废话
温柔的废话 2021-02-13 14:32

I\'ve been running my ASP.NET Core 2.1 Preview-1 app on Azure since this release became available. I had installed the ASP.NET Core runtime extensions through the portal and it\

7条回答
  •  死守一世寂寞
    2021-02-13 15:30

    The steps I took to get this working:

    • Remove the 2.1-preview1 ASP.NET Core Runtime Extension.
    • Check the application settings to see if you're running under 32-bit or 64-bit.
    • Install only the matching (32- or 64-bit) ASP.NET Core 2.1 Runtime.
    • Restart the web app.

    Restarting is important - before restarting the .NET Core tools were the wrong version and I would also get 502.5 errors.

    As you've installed both 32- and 64-bit runtimes I'd try removing the one that your application doesn't need and restart the web app.

提交回复
热议问题