I can navigate to elmah.axd and see the in memory log but the i don't
get an error email nor is it saving the xml files. And I can't
navigate to elmah.axd/about
I'm going to keep tinkering with web.config. My web.config is below.
I appreciate your help.
Thanks.
MGA
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration xmlns="
http://schemas.microsoft.com/.NetConfiguration/
v2.0">
<configSections>
<sectionGroup name="GotDotNet.Elmah">
<!--<section name="security" requirePermission="false"
type="GotDotNet.Elmah.SecuritySectionHandler, GotDotNet.Elmah"/>-->
<section name="errorLog" requirePermission="false"
type="GotDotNet.Elmah.ErrorLogSectionHandler, GotDotNet.Elmah"/>
<section name="errorMail" requirePermission="false"
type="GotDotNet.Elmah.ErrorMailSectionHandler, GotDotNet.Elmah"/>
<!--<section name="errorFilter" requirePermission="false"
type="GotDotNet.Elmah.ErrorFilterSectionHandler, GotDotNet.Elmah"/>-->
</sectionGroup>
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting"
type="System.Web.Configuration.ScriptingSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization"
type="System.Web.Configuration.ScriptingJsonSerializationSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="Everywhere"/>
<section name="profileService"
type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<section name="authenticationService"
type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<GotDotNet.Elmah>
<errorLog type="GotDotNet.Elmah.XmlFileErrorLog, GotDotNet.Elmah"
logPath="~/App_Data"/>
<errorMail from="
el...@integratedrental.com"
to="
milto...@integratedrental.com" cc="
da...@integratedrental.com"
subject="iRental Error Report" smtpPort="465"
smtpServer="
smtp.googlemail.com" userName="
el...@integratedrental.com"
password="elmaherror"/>
</GotDotNet.Elmah>
<appSettings/>
<connectionStrings/>
<system.web>
<!-- Register that a request to aspnetham/errorlog.aspx should
be serviced by the ErrorLogPageFactory HTTP Handler factory --
>
<httpHandlers>
<add verb="POST,GET,HEAD" path="elmah.axd"
type="GotDotNet.Elmah.ErrorLogPageFactory, GotDotNet.Elmah"/>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<!-- Adds the ErrorLogModule HTTP Module to the HTTP pipeline. -->
<httpModules>
<add name="ErrorLog" type="GotDotNet.Elmah.ErrorLogModule,
GotDotNet.Elmah"/>
<add name="ErrorMail" type="GotDotNet.Elmah.ErrorMailModule,
GotDotNet.Elmah"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
<pages>
<controls>
<add tagPrefix="ajax" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>
<!--<sessionState mode="StateServer"
stateConnectionString="tcpip=localhost:42424" timeout="1"
cookieless="false"></sessionState>-->
<sessionState cookieless="false" timeout="90"></sessionState>
<customErrors mode="Off"></customErrors>
<trace enabled="true" localOnly="false"/>
<!--REMOVE GOING LIVE-->
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
<add assembly="Infragistics2.WebUI.UltraWebGrid.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.Shared.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.UltraWebTab.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.WebDataInput.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.WebDateChooser.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.WebCombo.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.Misc.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.UltraWebGauge.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="Infragistics2.WebUI.UltraWebCalcManager.v7.1,
Version=7.1.20071.40, Culture=neutral,
PublicKeyToken=7DD5C3163F2CD0CB"/>
<add assembly="System.DirectoryServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="ASNA.DataGate.Client, Version=8.1.425.0,
Culture=neutral, PublicKeyToken=78AAC8F1F3F86B73"/>
<add assembly="ASNA.VisualRPG.Runtime, Version=8.1.425.0,
Culture=neutral, PublicKeyToken=D7106BE54D30C861"/></assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<!-- name = name of cookie. -->
<forms name=".AuthIRS" loginUrl="~/Start/LogInForm.aspx"
protection="All" path="/" timeout="90"></forms>
<!--<forms name="ASPCOOKIELOGIN" loginUrl="LogInForm.aspx"></
forms>-->
<!--There is a timeout attribute for the 'forms' tag. However, it
specifies,
in minutes, how long in minutes a non-persistent cookie
lasts. This value
has nothing to do with the expiration time of a persistent
cookie.
-->
</authentication>
<!-- deny all unauthorized users -->
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
<identity impersonate="false"/>
<!--<customErrors mode="RemoteOnly" defaultRedirect="Start/
GenericErrorPage.htm">--><!--
</customErrors>-->
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
<system.web.extensions>
<scripting>
<webServices>
<!-- Uncomment this line to customize maxJsonLength and add a
custom converter -->
<!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
-->
<!-- Uncomment this line to enable the authentication service.
Include requireSSL="true" if appropriate. -->
<!--
<authenticationService enabled="true" requireSSL = "true|false"/>
-->
<!-- Uncomment these lines to enable the profile service. To allow
profile properties to be retrieved
and modified in
ASP.NET AJAX applications, you need to add each
property name to the readAccessProperties and
writeAccessProperties attributes. -->
<!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
-->
</webServices>
<!--
<scriptResourceHandler enableCompression="true" enableCaching="true" /
>
-->
</scripting>
</system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="GotDotNet.Elmah.ErrorLog"
type="GotDotNet.Elmah.ErrorLogModule, GotDotNet.Elmah"
preCondition="managedHandler"/>
<!--<add name="Elmah.ErrorFilter" type="Elmah.ErrorFilterModule"
preCondition="managedHandler" />-->
<add name="GotDotNet.Elmah.ErrorMail"
type="GotDotNet.Elmah.ErrorMailModule" preCondition="managedHandler"/>
<add name="ScriptModule" preCondition="integratedMode"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/
>
</modules>
<handlers>
<add name="GotDotNet.Elmah" path="elmah.axd" verb="POST,GET,HEAD"
type="GotDotNet.Elmah.ErrorLogPageFactory, GotDotNet.Elmah"
preCondition="integratedMode"/>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*"
path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode"
verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<!--
ASP.NET locks users out of these folders until they are
authenticated.
These two folders, css and images, must grant _all_ users
uncondition
access to them; otherwise the login page shows without its CSS and
its
images.
-->
<!-- allows to any user to have access to the includes folder of the
website-->
<location path="includes">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
<!-- allows to any user to have access to the includes folder of the
website-->
<location path="includes_cache">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
<!-- allows to any user to have access to the images folder of the
website-->
<location path="images">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
<!-- allows to any user to have access to the pdf folder of the
website-->
<location path="pdf">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
</configuration>