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


基础教程推荐
- 一个读写csv文件的C#类 2022-11-06
- C#类和结构详解 2023-05-30
- C# List实现行转列的通用方案 2022-11-02
- C# 调用WebService的方法 2023-03-09
- unity实现动态排行榜 2023-04-27
- winform把Office转成PDF文件 2023-06-14
- linux – 如何在Debian Jessie中安装dotnet core sdk 2023-09-26
- C# windows语音识别与朗读实例 2023-04-27
- C#控制台实现飞行棋小游戏 2023-04-22
- ZooKeeper的安装及部署教程 2023-01-22