HTTP Error 500.19 Internal Server Error when publishing sample project of .net core web application in IIS


Bhavik Modh

enter image description hereActually, after running locally but publishing automatically creates a web.config file, there is no web.config file.

Zhang Bailan

As far as I know, if you want to host your asp.net core application on IIS, you should make sure you have the asp.net core hosting bundle installed.

I suggest you can try to download and install it from this URL .

For more details, you can refer to this article .

Notice:

If the hosting bundle was installed before IIS, the bundle installation must be repaired. After installing IIS, run the Hosting Bundle installer again.

Related


ASP.NET IIS Application 500 Internal Server Error

Moon Ninja I have a very strange problem. I have a development environment where I develop an ASP.NET MVC application and everything works fine in this environment. In particular there is an AJAX call in the Application that calls the controller and passes the

asp.net core application. 500 Internal Server Error

David Edel I uploaded my website to godaddy windows hosted with plesk. All files are uploaded but I get an error: 500 Internal Server Error. There is a problem with the resource you are looking for and cannot be displayed. By researching the problem online, I

Web application using c#.net Core internal server error 500

alone My app didn't work until 2 hours ago. In postman, my server is called and responds fine. I was notified about upgrading VS2019, so I did. Now every time I send a request to the server from postman, I get this error: I tried to downgrade to .net 3.0.0 but

ASP.NET Core Web API 500 Internal Server Error

Fear I am trying to build an API within the ASP.NET Core framework. I made a basic controller that just returns a string: namespace Dojo_Api.Controllers.Forum { //[Authorize] [Route("api/[controller")] public class ForumController : Controller

500 Internal Server Error when hosting .net Core app in Docker

Avzal I created a test application in .net Core Framework and it works perfectly in development environment. I later published this to a docker container and it worked perfectly because the hosting IP address I declared was listening and I could browse it via

500 Internal Server Error when publishing long-form content

AB Moslih I've created a long form with multiple fields to post the entered data to the Mariadb database. These types are all set to TEXT because the field will contain long text. max_allowed_packet = 1073741824 net_buffer_length = 1048576 PHP post_max_size =

Publishing to Azur fails with 500 Internal Server Error

Mahesh I have a cloud service on Windows Azure, I created an Asp.net WebAPI project and published to the cloud service, it worked fine on Visual Studio before I updated Visual Studio to 4 and Azure SDK 2.2 to 2.6 Publish normally. But after an update at launch

Publishing to Azur fails with 500 Internal Server Error

Mahesh I have a cloud service on Windows Azure, I created an Asp.net WebAPI project and published to the cloud service, it worked fine on Visual Studio before I updated Visual Studio to 4 and Azure SDK 2.2 to 2.6 Publish normally. But after an update at launch

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

Brandon I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server erro

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.