Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

HTTP Error 500.31 - Failed to load ASP.NET Core runtime #631

Closed
TollerEmil opened this issue Apr 28, 2021 · 3 comments
Closed

HTTP Error 500.31 - Failed to load ASP.NET Core runtime #631

TollerEmil opened this issue Apr 28, 2021 · 3 comments
Labels
wontfix Problem, or not; this won't be fixed here at least.

Comments

@TollerEmil
Copy link

PassCore Server

  • OS: [Windows ]
  • Provider: [Active Directory]

Describe the bug
Installed Passcore as provided in your documentation

Try to browse to the website the following error occured:

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.
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

Additional context

  • UAC is active
  • Windows Server 2019
  • IIS Config
    image
    image
@enzo-dis
Copy link

enzo-dis commented May 6, 2021

I had the same HTTP Error 500.31 error and found the solution in issue #615

#615

@stale
Copy link

stale bot commented Jul 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Problem, or not; this won't be fixed here at least. label Jul 8, 2021
@stale stale bot closed this as completed Jul 21, 2021
@jhallal
Copy link

jhallal commented Jan 15, 2022

Check the version of the hosting bundle, the version of the Windows Server Hosting and the Runtime should match:
Microsoft .NET 5.0.11 - Windows Server Hosting
Microsoft .NET SDK 5..
Microsoft .NET Runtime - 5.0.11
NB: same applied if you are using .NET Core 6. But you must make sure to install the appropriate version of the runtime and the hosting bundle
Refer to this post: https://bit.ly/3ntQ8QJ

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix Problem, or not; this won't be fixed here at least.
Projects
None yet
Development

No branches or pull requests

3 participants