Code2night
  • Home
  • Guest Posts
  • Tutorial
  • Languages
    • Angular
    • C
    • C#
    • HTML/CSS
    • Java
    • JavaScript
    • Node.js
    • Python
    • React
    • SQL Server
    • TypeScript
  • Post Blog
  • Tools
    • JSON Beautifier
    • HTML Beautifier
    • XML Beautifier
    • CSS Beautifier
    • JS Beautifier
    • PDF Editor
  • Register
  • Login
  1. Home
  2. Blogpost

HTTP Error 500.31 Failed to load ASP NET Core runtime

Date- Aug 23,2022

20141

Http Error

So, sometimes when you are trying to run you Asp.net core application you may get a screen like you can see in the screenshot below.

When you run your project  you face this error "HTTP Error 500.31 Failed to load ASP NET Core runtime"

First, check your dot net core framework, to check your  framework right click on the solution then click on properties new window will open then check your target framework . Now whatever target framework this project have must be installed in your system. Then it will be able to run properly.

Search "download dot net framework according to your target framework  '3.1' " OR open the URL  https://dotnet.microsoft.com/en-us/download/dotnet/3.1 click on the windows -> hosting bundle then automatically download is a start . You have to select correct version by checking the target framework version following the previous step.


go to the download folder  double click on the setup, and install the package . 

when installation is  successfully completed . You can close the popup .

After installing the hosting bundle you run your project , then your project run successfully , see the image below 

So , you can see you issue will be resolved . This is how you can fix error HTTP Error 500.31 Failed to load ASP NET Core runtime in you Asp.Net core web application.

S
Shubham Batra
Programming author at Code2Night — sharing tutorials on ASP.NET, C#, and more.
View all posts →

Related Articles

HTTP Error 500.32 Failed to load ASP NET Core runtime
Dec 06, 2023

Comments

Tags

Swagger UI
Swashbuckle
SwashbuckleAspNetCore
Rest API
Postman
Api Testing
ITextSharp
Export to Pdf
AspNet Core
AspNet
C#
View to Pdf in Aspnet
Scheduler
Fibonacci series in Java
Display Fibonacci Series
First C# Program
What is C?
C
C Programming
CodeLobster
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp Join Us On Facebook
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, India   info@code2night.com

Quick Links
  • Home
  • Blogs
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • XML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • PDF Editor
By Language
  • Angular
  • C
  • C#
  • HTML/CSS
  • Java
  • JavaScript
  • Node.js
  • Python
  • React
  • SQL Server
  • TypeScript
© 2026 Code2Night. All Rights Reserved.
Built with for developers