惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
博客园 - 【当耐特】
V
Visual Studio Blog
GbyAI
GbyAI
V
V2EX
P
Proofpoint News Feed
Microsoft Azure Blog
Microsoft Azure Blog
Microsoft Security Blog
Microsoft Security Blog
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
量子位
MongoDB | Blog
MongoDB | Blog
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog
小众软件
小众软件

博客园 - cowbird

云从哪里来 闲谈“云计算” 麦格纳软件公司绩效考核信息化管理解决方案 工作回顾(二) 工作回顾(一) 小型软件企业的绩效考核(5) 小型软件企业的绩效考核(4) 小型软件公司的绩效考核(3) 小型软件公司的绩效考核(2) 小型软件公司的绩效考核(1) Licenses.licx 总是签出,影响多人开发的解决方法 “找不到指定的模块”解决Reporting Service2000订阅邮件的问题 我理解的事件(Event) 我理解的委托(delegate) 很好的Ajax教程,有源代码 有感BigScreen项目(2005年10月31日起) 转:经理是做什么的? 三十述怀 解决windows2003自动更新错误0x80244019的问题
使用enterprise library2.0的loging application block 心得
cowbird · 2006-04-11 · via 博客园 - cowbird

想在项目里使用企业库的logging application中的Email Sink,可是怎么也不能用。
查了查说是EmailSink调用System.Web.Mail,有诸多要求,比如需要调用本地的SMTP Service(就是本地要装smtp,设置smtpServer的时候为127.0.0.1)和CDO.Message等。排除了各种可能,结果还是不能运行。
报错:
Exception Information Details:
======================================
Exception Type: System.IO.FileNotFoundException
Message: 找不到指定的模块。
FileName: NULL
FusionLog: NULL
TargetSite: System.Object CreateInstanceImpl(Boolean)
HelpLink: NULL
Source: mscorlib

试了多次未果,想必是个bug。最后想试下enterprise library2.0,却非常容易就搞定了。而且smtp也不必是本地的。看来是要用vs2005了。
另外,有谁把enterprise library1.1的 logging block 的email sink搞定,请告知:)
我的msn:cowbird2002@hotmail.com