解决方法:
web.config 中 删除 " -argFile IISExeLauncherArgs.txt" 即可。
<aspNetCore processPath="dotnet" arguments=".demo.dll -argFile IISExeLauncherArgs.txt" forwardWindowsAuthToken="false" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" />