I'm trying to migrate a bunch of ASP.Net MVC web sites to Azure. In the process I've noticed that Elmah does not function on any of those web sites. I created the simplest case possible to test with and found that it doesn't work either.
On Azure I created a "standard tier" web site, I did no further configuration to it.
In Visual studio I created a new ASP.NET MVC web site. I added the Nuget "Elmah" package. I changed one line in the web.config to:
<security allowRemoteAccess="true" />
This change was done to allow me to view the elmah page. (I know insecure, but just trying to prove a point)
I also changed the controller so that clicking the about menu generates an exception. Otherwise this is a generic MVC web site. Locally everything works great and I can generate the exception and see it show up on the Elmah.axd page, but once I deploy the site to Azure no data ever appears on the Elmah page.
I have left the sample online for demonstration purposes:
Next go to: http://testelmah.azurewebsites.net and click about. You should see an error message indicating an exception occured.
Go back to: http://testelmah.azurewebsites.net/elmah.axd
Be puzzled that Elmah isn't working
I've spent hours googling for a solution and it seems that Elmah just works for everyone else in Azure. What am I missing?