2012-02-05 06:34:36 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<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>
|
|
|
|
<connectionStrings>
|
|
|
|
<clear />
|
|
|
|
<add name="SqlExpress" providerName="System.Data.SqlClient" connectionString="Data Source=.\SQLExpress;Database=Services; Integrated Security=True" />
|
|
|
|
</connectionStrings>
|
|
|
|
<runtime>
|
|
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
|
|
<dependentAssembly>
|
|
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.7.0" newVersion="4.0.7.0" />
|
|
|
|
</dependentAssembly>
|
|
|
|
</assemblyBinding>
|
|
|
|
</runtime>
|
|
|
|
<system.web>
|
2012-02-09 17:41:51 +00:00
|
|
|
<customErrors mode="Off" />
|
2012-02-05 06:34:36 +00:00
|
|
|
<compilation debug="true" targetFramework="4.0" />
|
|
|
|
<httpModules>
|
|
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
|
|
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
|
|
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
|
|
|
|
</httpModules>
|
|
|
|
<httpHandlers>
|
|
|
|
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
|
|
|
|
</httpHandlers>
|
|
|
|
<caching>
|
|
|
|
<outputCacheSettings>
|
|
|
|
<outputCacheProfiles>
|
2012-02-09 17:41:51 +00:00
|
|
|
<add name="Cache1Hour" duration="3600" varyByParam="none" />
|
|
|
|
<add name="Cache1HourVaryBySeriesId" duration="3600" varyByParam="seriesId" />
|
2012-02-05 06:34:36 +00:00
|
|
|
</outputCacheProfiles>
|
|
|
|
</outputCacheSettings>
|
|
|
|
</caching>
|
|
|
|
</system.web>
|
|
|
|
<system.webServer>
|
|
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
|
|
<modules>
|
|
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
|
|
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
|
|
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
|
|
|
|
</modules>
|
|
|
|
<handlers>
|
|
|
|
<add name="Elmah" path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
|
|
|
|
</handlers>
|
|
|
|
</system.webServer>
|
|
|
|
<elmah>
|
|
|
|
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="SqlExpress" />
|
|
|
|
</elmah>
|
|
|
|
</configuration>
|