I use asp.net core 2 Preview 2.
I opened stdoutLogEnabled = \"true\"
in web.config
but the system does not write logs.
Deploying on
First you have to check the required dot net version, Confirm the same version applied in both server and developed local machine. Using Command prompt :
>dotnet --info
Solution 2:
Execute the dll file using command prompt with dotnet interpreter
YOUR_DLL_PATH> dotnet yourdllpath.dll
By this you can find the actual error.
Good luck