ASP.NET application fails to start on Win 10 and IIS 10 - HTTP Error 403.14 - Forbidden


Mojimir Novak

I have an ASP.NET MVC application running on Win 8.1 and IIS Express 7, but Microsoft forced it to change with an update, and now I have Windows 10 and IIS 10.

The application stopped working today (January 4th, 2017, one day).

i end up

service paused

http error 503 service unavailable.

or

HTTP Error 403.14 - Forbidden to configure the web server not to list the contents of this directory.

courtesy

The app's app pool is under a different account. User has privileges on different folders. Logging is enabled.

Question 1

I don't see (important) anything in any logs. It seems that the log is not working properly. I'm not sure, or I can't see them.

Question 2

After starting the application pool, it stops after a few seconds.

In the event log I only have this:

event log

  1. Error: Application pool 'MyApp' was automatically disabled due to a series of failures in servicing this application pool. --

  2. Warning: The listener channel for protocol 'http' in worker process '8924' serving application pool 'MyApp' reported a listener channel failure. The data field contains the error number. 5139-

Notice

When I run this application on a different computer than Visual Studio, it is working.

question

  1. Why don't I see any errors in the logs? Where are you still looking?
  2. Where to start looking for problems?
Mojimir Novak

After resolving this error in IIS 10, I managed to convert from HTTP Error 503 to HTTP Error 403.14. For this case, the solution is to add

<system.webServer>
   <modules runAllManagedModulesForAllRequests="true"/> 
</system.webServer>

into the project Web.configfile.

The original info is here:

https://serverfault.com/questions/405395/unable-to-get-anything-except-403-from-a-net-4-5-website

Related


HTTP Error 403.14 - Forbidden asp.net 5 and MVC 6 iis10

code garbage I know this question has been asked a few times, but the questions are slightly different and the answers to those questions don't solve my problem. I have an asp.net 5 and MVC 6 application that works fine in IIS Express and is self-hosted in WEB

HTTP Error 403.14 - Forbidden asp.net 5 and MVC 6 iis10

code garbage I know this question has been asked a few times, but the questions are slightly different and the answers to those questions don't solve my problem. I have an asp.net 5 and MVC 6 application that works fine in IIS Express and is self-hosted in WEB

HTTP Error 403.14 - Forbidden asp.net 5 and MVC 6 iis10

code garbage I know this question has been asked a few times, but the questions are slightly different and the answers to those questions don't solve my problem. I have an asp.net 5 and MVC 6 application that works fine in IIS Express and is self-hosted in WEB

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

Google .NET API fails with error 403 (Forbidden)

rash My following code snippet should return a list of beacons. I have whitelisted my public IP address and associated it with the api key when letting the Google API console generate the API key. I keep getting an exception with error code 403 (Forbidden) whe

How to properly autostart an asp.net application in IIS10

Roba I am trying to get my ASP.NET application to start automatically when the application pool is running. Based on tons of references online, I've done the following: Set the application pool toStartMode=AlwaysRunning Set the site in question (belonging to t

How to properly autostart an asp.net application in IIS10

Roba I am trying to get my ASP.NET application to start automatically when the application pool is running. Based on tons of references online, I've done the following: Set the application pool toStartMode=AlwaysRunning Set the site in question (belonging to t

How to properly autostart an asp.net application in IIS10

Roba I am trying to get my ASP.NET application to start automatically when the application pool is running. Based on tons of references online, I've done the following: Set the application pool toStartMode=AlwaysRunning Set the site in question (belonging to t

How to properly autostart an asp.net application in IIS10

Roba I am trying to get my ASP.NET application to start automatically when the application pool is running. Based on tons of references online, I've done the following: Set the application pool toStartMode=AlwaysRunning Set the site in question (belonging to t

How to properly autostart an asp.net application in IIS10

Roba I am trying to get my ASP.NET application to start automatically when the application pool is running. Based on tons of references online, I've done the following: Set the application pool toStartMode=AlwaysRunning Set the site in question (belonging to t

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

403 Forbidden Error - IIS 8

it's just Werks I am using IIS 8 on a Windows 2012 server. I have a site set up to act as an API for HTTPS communication on a custom port (4443). I have installed a wildcard SSL certificate which is working fine. Our network firewall internally routes all publ

ASP.NET Core 404 error on IIS 10

Saeki (Mate Zabo): I have a problem running an ASP.NET Core web application on IIS 10. I am developing a single page application using AngularJS. index.html loads perfectly, but the backend request fails on IIS 10 with a 404 error code. From Visual Studio with

ASP.NET Core 404 error on IIS 10

Saeki (Mate Zabo): I have a problem running an ASP.NET Core web application on IIS 10. I am developing a single page application using AngularJS. index.html loads perfectly, but the backend request fails on IIS 10 with a 404 error code. From Visual Studio with