System.Web.HttpException ... Cannot access "CDO.Message object" ...
Here's what my appender looks like, I think it's okay, but... just in case:
<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
<to [EMAIL PROTECTED]" />
<from value="[EMAIL PROTECTED]" />
<subject value="ccc
<bufferSize value="512" />
<lossy value="true" />
<evaluator type="log4net.Core.LevelEvaluator">
<threshold value="WARN"/>
</evaluator>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%newline%date [%thread] %-5level %logger [%ndc] - %message%newline%newline%newline" />
</layout>
</appender>
I suspected that it's security problem with my virtual STMP server (IIS on XP Professional), so, first thing I did was to check:
a. Authentication: Anonymous access permitted.MMC console IIS Default Virtual SMTP Server (Right click and bring up "properties") "Access" tab
b. For "Connection" and "Relay", configure an empty list with "All except the list below"
But, this apparently didn't solve the problem. Any suggestion? Thanks in advance.
btw, I'm searching log4net mailing list archive: http://marc.theaimsgroup.com/?l=log4net-user&w=2&r=1&s=log4net+smtpappender+access+cdo.message&q=b
_________________________________________________________________ FREE Pocket Business English, ACT NOW! http://go.msnserver.com/HK/46165.asp
