Closed
Description
From @Eilon on Monday, August 31, 2015 12:17:01 PM
My project has the usual app.UseErrorHandler("/Home/Error");
call in it, but I forgot that I deleted the /Home/Error
action from my app. I'm using IIS Express locally, and IIS on Azure Web Sites.
When I run locally, I get the following IIS error:
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
And on Azure it behaves as if my web app never started, showing a "how to upload your site to Azure" default help page.
It would be nice if there was some way to detect this incorrect configuration of my app and show a more meaningful and actionable error. It took me, @muratg, and @anurse quite a while to figure out what was going on.
Copied from original issue: aspnet/Diagnostics#174