Thanks..
(1) I didn't before as these work fine in R1, but here they are...
<configuration>
<configSections>
...
<sectionGroup name="elmah">
<section name="security" requirePermission="false"
type="Elmah.SecuritySectionHandler, Elmah"/>
<section name="errorLog" requirePermission="false"
type="Elmah.ErrorLogSectionHandler, Elmah"/>
<section name="errorMail" requirePermission="false"
type="Elmah.ErrorMailSectionHandler, Elmah"/>
<section name="errorFilter" requirePermission="false"
type="Elmah.ErrorFilterSectionHandler, Elmah"/>
</sectionGroup>
</configSections>
<elmah>
<errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/
App_Data"/>
<security allowRemoteAccess="yes"/>
<errorMail from="*.*stratify@*.*.uk" to="*@*.
co.uk"
subject="ELMAH error report"/>
<!-- Errors are filtered (don't appear in log or email) when
any of the following conditions occur:
- the address is localhost (IPv4 or IPv6) -->
<errorFilter>
...
</errorFilter>
</elmah>
...
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
...
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"
preCondition="managedHandler"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule,
Elmah" preCondition="managedHandler"/>
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/
>
</modules>
<handlers>
...
<add name="Elmah" path="/secure/elmah.axd"
verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah"
preCondition="integratedMode"/>
</handlers>
> 2) Visit /secure/elmah.axd and see what ELMAH thinks the configuration is...
Powered by ELMAH, version 1.1.11517.2009. Copyright (c) 2004-9, Atif
Aziz. All rights reserved. Licensed under Apache License, Version 2.0.
Server date is Monday, 15 November 2010. Server time is 19:06:15. All
dates and times displayed are in the GMT Standard Time zone. This log
is provided by the XML File-Based Error Log.
> Hopefully it will be version 1.1 and the Xml Error Log!!
Yup, that's what I've been using for the last year or so on the other
machines...
> 3) Now try the following:
> a) Remove the <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/
> App_Data"/> line as you have previously tried... then
> b) Visit /secure/elmah.axd/test This should generate a test exception
> c) Visit /secure/elmah.axd and see if it is logged... and also check
> that it is now using the Memory Error Log
I'd already done (a) and (b), and I repeated them with no results,
however I do see the "in memory log" prompt now, so it's reading the
change ok.
So the logging/ permissions aren't the issue.... it's not getting the
errors, it seems.