Elmah (v1.1.11517.0) kullanıyorum ve yapılandırmayı harici bir kaynağa taşımaya çalışıyorum.Harici Yapılandırma Dosyaları ile elmah
Benim yapılandırma şu anda şöyle görünür:
<?xml version="1.0"?>
<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"/>
<section name="errorTweet" requirePermission="false" type="Elmah.ErrorTweetSectionHandler, Elmah"/>
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<log4net configSource="Settings\RobDev\log4net.config" />
<elmah configSource="Settings\RobDev\ELMAH.config" />
</configuration>
log4net mutlu ve ben bir acıdır hatası
Parser Error Message: The attribute 'configSource' cannot be specified because its name starts with the reserved prefix 'config' or 'lock'.
olsun ELMAH için ancak iyi çalışır, Elmalı dosyası kesinlikle yoktur ama bir şey mutlu değil.
Buna neden olabilir?
Altı ay oldu. Bir cevap seçmelisin. – jessegavin