ASP.NET Core 2.0 Preview 2 on IIS error 502.5

后端 未结 9 733
攒了一身酷
攒了一身酷 2021-01-17 07:30

I use asp.net core 2 Preview 2.

I opened stdoutLogEnabled = \"true\" in web.config but the system does not write logs.

Deploying on

9条回答
  •  被撕碎了的回忆
    2021-01-17 08:30

    The same issue occurred then got resolved to follow below steps.

    1: First delete .bin and.obj folder......mean Clean your application.

    2: Definitely this is version mismatching issue to see this >> go to "ASP.Net Core WebServer" in the Output window to see action error. In VS 2017, My case . 2.1.4 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] AdminLTE> It was not possible to find any compatible framework version AdminLTE> The specified framework 'Microsoft.AspNetCore.App', version '2.1.5' was not found.

    3: Install Microsoft.AspNetCore.App 2.1.5 (for mine) through package manager console.

    4: Rebuild again then issue got fixed.

    Please reply if still getting the same issue.

提交回复
热议问题