404 handling in Azure website 404 handling in Azure website azure azure

404 handling in Azure website


I was able to fix this by adding this httpErrors entry to the web.config:

<configuration>    <system.webServer>      <httpErrors existingResponse="PassThrough"/>    </system.webServer>  <configuration>

I found this answer here:

http://blog.dezfowler.com/2010/09/aspnet-custom-error-not-shown-in-azure.html