ASP.NET Core 2.0 Preview 2 on IIS error 502.5

后端 未结 9 753
攒了一身酷
攒了一身酷 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:19

    I had this same problem, even after installing the hosting bundle. The solution was in the documentation -

    Restart the system or execute net stop was /y followed by net start w3svc from a command prompt to pick up a change to the system PATH.

    This is done after installing the .NET Core Windows server hosting bundle.

提交回复
热议问题