发布:2023/12/7 15:36:13作者:大数据 来源:大数据 浏览次数:739
部署:
1、安装补丁
- Microsoft Visual C++ 2015 Redistributable Update 3.
- KB2533623
2、安装.net core 运行时或window budle包
https://dotnet.microsoft.com/download
3、必要的话,可以安装相应的.net core sdk
api-ms-win-crt-runtime-l1-1-0.dll错误解决办法
缺少组件
https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=netcore22#dependencies
Visual C++ Redistributable for Visual Studio 2015
下载:https://www.microsoft.com/zh-CN/download/details.aspx?id=48145
windows server 2008 r2部署.net core 2.2应用程序错误
错误:
Failed to load the dll from [C:\Program Files (x86)\dotnet\host\fxr\2.2.8\hostfx
r.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from C:\Program Files (x86)\do
tnet\host\fxr\2.2.8\hostfxr.dll failed
- Installing .NET Core prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
解决办法:
安装相应补丁
https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=netcore22#dependencies
Install the following:
- Microsoft Visual C++ 2015 Redistributable Update 3.
- KB2533623
错误:
HTTP Error 500.0 - ANCM In-Process Handler Load Failure
Common causes of this issue:
- The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
- The in process request handler, Microsoft.AspNetCore.Server.IIS, was not referenced in the application.
- ANCM could not find dotnet.
Troubleshooting steps:
- Check the system event log for error messages
- Enable logging the application process' stdout messages
- Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526
解决办法:同上,因windows server 2008 r2缺少补丁造成
安装以下补丁
Install the following:
- Microsoft Visual C++ 2015 Redistributable Update 3.
- KB2533623
应用池错误导致。
HTTP Error 500.0 - ANCM In-Process Handler Load Failure
Common causes of this issue:
- The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
- The in process request handler, Microsoft.AspNetCore.Server.IIS, was not referenced in the application.
- ANCM could not find dotnet.
Troubleshooting steps:
- Check the system event log for error messages
- Enable logging the application process' stdout messages
- Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526
HTTP Error 500.0 - ANCM Out-Of-Process Handler Load Failure
Common causes of this issue:
- The out of process request handler, aspnetcorev2_outofprocess.dll, could not be found next to the aspnetcorev2.dll.
- Could not read configuration correctly. Check the application's associated web.config.
Troubleshooting steps:
- Check the system event log for error messages
- Enable logging the application process' stdout messages
- Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526
以上错误原因是在主网站中增加一虚拟应用,导致共用了一个应用池,出现了以上错误,解决办法,在IIS应用池,新建一个应用池用于虚拟应用网站的应用,再打开可以正常执行了。
声明:本站内容来源于原创和互联网,尊重作者版权,转载请注明来源网址,欢迎收藏,谢谢!