netcore http error 5000 ancm in process handler load failure

HTTP Error 500.0 - ANCM In-Process Handler Load Failure
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


Eğer Windows IIS sunucularda .net CORE paylaşımlarınızda yukarıdaki gibi bir hata alıyorsanız muhtemelen dotnet.exe dosyasına erişim yetkilendirmesi olmadığından kaynaklanıyordur.

Problemi çözümü için Paylaşım dosyanızın içindeki web.config açın

aspNetCore processPath="dotnet" arguments=".\Cekirdek.Admin.Api.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess"

satırını bulun ve  hostingModel="inprocess" silin. 

ııs   windows   visual studio   http error 5000   ancm ın process handler load failure