HTTP 500 error with ASP.NET Core application on IIS Express 10


Numirani

I believe I have narrowed it down to a misconfiguration, but I can't find where the error lies.

Steps to reproduce:

  • Created a new project in Jetbrains Rider 2020.3. ASP.NET Core web application, Windows Authentication.
  • Let the new project build itself.
  • Try running the application through IIS Express.

IIS Express starts, but when I navigate to the https://localhost:XXXXX/page, I get an HTTP 500 error.

Things I've tried:

  • Delete applicationhost.config from .idea folder
  • Delete the entire .idea folder
  • Delete the contents of %home%/Documents/IISExpress/config
  • Delete the %home%/Documents/IISExpress folder and allow it to rebuild
  • Reinstall IIS Express 10
  • Reinstall the .NET Core hosting bundle

Nothing seems to change the result. The same method works for my office's IIS Express setup, but I can't go there right now. Remote access is slow enough to be inconvenient at best and impractical at worst.

Numirani

There seem to be some unresolved issues with IIS Express and Rider 2020.3, as shown in issue RIDER-55665 , although unlike the user here, I was unable to resolve the issue with the steps provided. It seems that rolling back from Rider 2020.3 to 2020.2.x fixed the issue.

Related


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.

Deploying ASP.NET Core API to local IIS error 500

Michael Reno Platama Setavan I have a problem with my application after deploying to local IIS. I've made an API using ASP.NET Core and have run it on Visual Studio and it works. It can perform GET, POST, PUT and DELETE requests. Then I want to deploy it to lo

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

Deploying ASP.NET Core API to local IIS error 500

Michael Reno Platama Setavan I have a problem with my application after deploying to local IIS. I've made an API using ASP.NET Core and have run it on Visual Studio and it works. It can perform GET, POST, PUT and DELETE requests. Then I want to deploy it to lo

ASP.NET Core MVC causes 500 error on IIS 8.5

Mickey Using .NET Core 3.1, I developed an MVC application and deployed it on IIS 8.5. Using a browser, I can go to the home page when I visit, domain.com/myApp/but I get an http 500 error when I visit domain.com/myApp. This is working locally. The problem occ

Deploying ASP.NET Core API to local IIS error 500

Michael Reno Platama Setavan I have a problem with my application after deploying to local IIS. I've made an API using ASP.NET Core and have run it on Visual Studio and it works. It can perform GET, POST, PUT and DELETE requests. Then I want to deploy it to lo

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.

Deploying ASP.NET Core API to local IIS error 500

Michael Reno Platama Setavan I have a problem with my application after deploying to local IIS. I've made an API using ASP.NET Core and have run it on Visual Studio and it works. It can perform GET, POST, PUT and DELETE requests. Then I want to deploy it to lo

Deploying ASP.NET Core API to local IIS error 500

Michael Reno Platama Setavan I have a problem with my application after deploying to local IIS. I've made an API using ASP.NET Core and have run it on Visual Studio and it works. It can perform GET, POST, PUT and DELETE requests. Then I want to deploy it to lo

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

Unable to start asp.net core web application in IIS Express

cool breeze [EDIT] The problem was BitDefender Antivirus. I followed the instructions on how to install asp.net 5 beta 8. I was able to install all required files with no problem. However, every time I select the web template and try to run it with IIS Express

OpenCover for ASP.Net Core application running on IIS Express

Bagh I'm trying to get code coverage for an Asp.Net Core application (DebugType-Full) running on IIS Express using OpenCover. As specified here , I tried setting the environment variables and then running OpenConsole. The only difference is that I try to open

Unable to start asp.net core web application in IIS Express

cool breeze [EDIT] The problem was BitDefender Antivirus. I followed the instructions on how to install asp.net 5 beta 8. I was able to install all required files with no problem. However, every time I select the web template and try to run it with IIS Express

Unable to start asp.net core web application in IIS Express

cool breeze [EDIT] The problem was BitDefender Antivirus. I followed the instructions on how to install asp.net 5 beta 8. I was able to install all required files with no problem. However, every time I select the web template and try to run it with IIS Express

OpenCover for ASP.Net Core application running on IIS Express

Bagh I'm trying to get code coverage for an Asp.Net Core application (DebugType-Full) running on IIS Express using OpenCover. As specified here , I tried setting the environment variables and then running OpenConsole. The only difference is that I try to open

OpenCover for ASP.Net Core application running on IIS Express

Bagh I'm trying to get code coverage for an Asp.Net Core application (DebugType-Full) running on IIS Express using OpenCover. As specified here , I tried setting the environment variables and then running OpenConsole. The only difference is that I try to open