Hata:
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
Plesk Panel destekli Windows sunucularda .NET Core projenizde yukarıdaki hatayı alıyorsanız, muhtemel sebebi “C:/Program Files (x86)/dotnet/dotnet.exe” dosyasına erişmeyi denerken yetkisi olmadığı için hata veriyor olmasıdır.
Çözümü:
Projenizin web.config dosyası içerisinde yer alan <aspNetCore processPath=”dotnet” satırı içindeki hostingModel=”InProcess” değerini siliniz. Ardından projenizin çalıştığını görebilirsiniz.
İlgili satır aşağıdakine benzer şekilde görünecektir:
<aspNetCore processPath="dotnet" arguments=".\XXXXXX.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout"/>
Bu makale yardımcı oldu mu?
Beğenirseniz bunu paylaşmanız iyileştirmelere katkı sağlayacaktır.