Asp.netcore 托管模型- 进程内托管和进程外托管(inprocess out OutOfProcess)

.net core 3.1 项目部署到生产环境(windows server2012 R2),访问报错

HTTP Error 500.30 - ANCM In-Process Start Failure

window logs:

Application ‘/LM/W3SVC/5/ROOT‘ with physical root ‘D:\XXXX\‘ failed to load coreclr. Exception message:
CLR worker thread exited prematurely

Application ‘/LM/W3SVC/5/ROOT‘ with physical root ‘D:\XXXX\‘ hit unexpected managed exception, exception code = ‘0xe0434352‘. Please check the stderr logs for more information.

 

在web.config 将hostingModel="InProcess" 改为 hostingModel="OutOfProcess"

Asp.netcore 托管模型- 进程内托管和进程外托管(inprocess out OutOfProcess)

上一篇:WebRTC源码分析--RateTracker


下一篇:Http请求的Get和Post的区别?