ASP.NET Core 2.0 Preview 2 on IIS error 502.5

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

提交回复
热议问题