Sorry, forgot to include this..
***************************************************
<elmah>
<security allowRemoteAccess="0" />
<!--
Use to log errors to Microsoft SQL Server 2000 or 2005
using ASP.NET 2.0. Set value of connectionStringName
attribute
to the name of the connection string settings to use from
the <connectionStrings> section.
-->
<errorLog type="Elmah.SqlErrorLog, Elmah"
connectionStringName="ElmahDB" />
<!--
Use to send error reports by e-mail and adjust the
attributes
according to settings desired. Note that only the from and
to attributes are required. The rest are optional and may
be removed. If the SMTP server does not require
authentication,
you MUST remove the userName and password attributes or
set them to empty values (resulting in zero-length
strings).
If you are using ELMAH compiled for .NET Framework 1.x,
then
the to attribute may contain multiple recipient addresses,
each of which must be delimited by a semi-colon(;). If you
are
using ELMAH compiled for .NET Framework 2.0 or later, then
the
to attribute may contain multiple recipient addresses,
each of which must be delimited by a comma (,).
-->
<errorMail from="" to="" subject="" priority="Low" async="false"
smtpPort="25" smtpServer="" useSsl="true" noYsod="false" />
</elmah>
------------
Regards,
Sampath
**********************************************
On May 2, 3:47 pm, James_2JS <jamesdrisc...@btinternet.com> wrote:
> Can you also post your <elmah> section please?
> On Monday, April 30, 2012 2:13:35 PM UTC+1, Sampath Kumar wrote:
> > Hi Team,
> > I have been using GetErrorCount method of ErrorLogDataSourceAdapter
> > class to get the total error count. There is a small discrepancy in
> > the count returned by the method when I have compared it by counting
> > number of rows in elmah_error table from sqlserver. Can someone please
> > let me know if there is any default filter applied to
> > ErrorLogDataSourceAdapter.
> > Thanks,
> > Sampath