I use asp.net core 2 Preview 2.
I opened stdoutLogEnabled = "true"
in web.config
but the system does not write logs.
Deploying on windows server 2012 r2 gives :
Error
HTTP Error 502.5 - Process Failure.
Web.config
<aspNetCore processPath="dotnet" arguments=".\App.WebHost.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" />
Logs
Please help me.
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 bynet 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.