HTTP Error 500.31 - ANCM Failed to Find Native Dependencies Common solutions to this issue: The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found. 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
i don't know why it has an error. it runs correctly in local but in a server, it gives me Error.
The text was updated successfully, but these errors were encountered:
@overstartup If you've published your app as self-contained, There's file named Web.Config. If you're using .Net Core 2.2, few lines of web.config file are like photo below:
In this case remove V2 from modules="AspNetCoreModuleV2" and save the config file, then restart you app.