IISにテストするアプリをデプロイして、アクセスしたら「ASP.NET Core does not support multiple apps in the same app pool 」がでた。このエラーは、1つのアプリケーションプールに対して、1つのアプリを割り当てる必要があるので、同じアプリケーションプールに複数のアプリが割当たっていた場合、2つ目のアプリで表示されるものだ。このエラーがでている場合は、アプリケーションプールを新しく作って、割り当てなおせばよい。
なお、昔は1つのアプリケーションプールに複数アプリだった。.NET Framework 4.8系だと、このエラーが出なかったりするので、古いタイプのアプリ管理をしていると、やってしまうことがある。
IISのアプリにアクセスしたときに表示されたエラー
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.
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 guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.
コメントを残す