HTTP Error 500.35 - ASP.NET Core does not support multiple apps in the same app pool

2021-05-24  乐帮网

netcore

ASP.NET Core项目发布到IIS下面,访问localhost时候遇到以下错误信息:

HTTP Error 500.35 - ASP.NET Core does not support multiple apps in the same app pool
Common solutions to this issue:
Select a different app pool to host this app.
Specific error detected by ANCM:
Only one in-process application is allowed per IIS application pool. Please assign the application '/LM/W3SVC/1/ROOT/fman' to a different IIS application pool.
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

引起这个错误的原因可能 是因为你电脑关盖休眠了,唤醒的时候重复激活Net Core 的App Pool。所以才导致以上错误。
解决办法是重启应用程序池,输入cmd 调出命令行窗口,然后输入运行以下命令:iisreset  

再访问试一试,一切就正常了。

公众号二维码

关注我的微信公众号
在公众号里留言交流
投稿邮箱:1052839972@qq.com

庭院深深深几许?杨柳堆烟,帘幕无重数。
玉勒雕鞍游冶处,楼高不见章台路。
雨横风狂三月暮。门掩黄昏,无计留春住。
泪眼问花花不语,乱红飞过秋千去。

欧阳修

付款二维码

如果感觉对您有帮助
欢迎向作者提供捐赠
这将是创作的最大动力