.net core 3.1 项目部署到生产环境(windows server2012 R2),访问报错HTTP Error 500.30 - ANCM In-Process Start Failurewindow logs:Application /LM/W3SVC/5/ROOT with physical root D:\XXXX\ failed to load...

.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)


基础教程推荐
- Unity shader实现多光源漫反射以及阴影 2023-03-04
- C# – NetUseAdd来自Windows Server 2008和IIS7上的NetApi32.dll 2023-09-20
- 使用c#从分隔文本文件中插入SQL Server表中的批量数据 2023-11-24
- C# Winform实现石头剪刀布游戏 2023-01-11
- C#中类与接口的区别讲解 2023-06-04
- C#通过GET/POST方式发送Http请求 2023-04-28
- C#集合查询Linq在项目中使用详解 2023-06-09
- c#中利用Tu Share获取股票交易信息 2023-03-03
- c#读取XML多级子节点 2022-11-05
- 京东联盟C#接口测试示例分享 2022-12-02