ASP.NET Core 2.0 Preview 2 on IIS error 502.5

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

    Try to install .NET Core SDK on the server:

    https://www.microsoft.com/net/download/core

    It solved the same problem for me.

    0 讨论(0)
  • 2021-01-17 08:34

    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

    0 讨论(0)
  • 2021-01-17 08:35

    I was having the same problem

    I installed .NET Core 2.0 Preview 2 (the button in point 1) on the server https://www.microsoft.com/net/core/preview#windowscmd

    and it's running now

    0 讨论(0)
提交回复
热议问题