.net core进入Swagger报错: HTTP Error 500.35 - ASP.NET Core does not support multiple apps in the same app pool

问题:.net core微服务项目修改项目配置后,运行进入swagger报错

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 '/.....' 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

解决方法

关门解决方案,然后删除.vs解决方案配置文件,注意.vs是隐藏文件夹,然后重新启动项目

 

posted @ 2022-04-07 17:33  骇客HK  阅读(1497)  评论(0编辑  收藏  举报