Failed to load ASP.NET Core runtime

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 151

Failed to load ASP.NET Core runtime

Post by crash »

When I run ASPNetMaker23 it works fine , but when I publish I get this error

I do see other frameworks are detected, but it all works fine and is only a problem if I publish and then view the publish public folder

HTTP Error 500.31 - Failed to load ASP.NET Core runtime
Common solutions to this issue:
The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
Specific error detected by ANCM:
You must install or update .NET to run this application.

Any help, thanks


MichaelG
User
Posts: 1110

Post by MichaelG »

You cannot just view the publish folder. You need to configure IIS to run your published application. Read:
https://learn.microsoft.com/en-us/aspne ... etcore-7.0

Also read the notes on Publish:
https://aspnetmaker.dev/docs/#/generatesetup.html

and system requirements for the server:
https://aspnetmaker.dev/docs/#/sysreq.html?id=server


Post Reply