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.
Try to install .NET Core SDK on the server:
https://www.microsoft.com/net/download/core
It solved the same problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With