57 lines
2.6 KiB
XML
57 lines
2.6 KiB
XML
<?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.8.0" newVersion="4.0.8.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<system.web>
|
|
<customErrors mode="Off" />
|
|
<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>
|
|
<add name="Cache1Hour" duration="3600" varyByParam="none" />
|
|
<add name="Cache1HourVaryBySeriesId" duration="3600" varyByParam="seriesId" />
|
|
</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> |