报错:HTTP Error 503. The service is unavailable.
解决:IIS-》应用程序池-》高级设置-》进程模型-》标识。将内置账户更改为NetworkService
原文:https://www.cnblogs.com/fri-yu/p/4078995.html
报错:An error occurred while starting the application.
解决1(仅记录报错的日志):修改web.config,将配置项 stdoutLogEnabled 由 false 改为 true
old: <aspNetCore processPath="dotnet" arguments=".\GP.Core.WebAPI.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
new:<aspNetCore processPath="dotnet" arguments=".\GP.Core.WebAPI.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" />
原文:https://www.cnblogs.com/itslives-com/p/InternalServerError.html