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

推荐订阅源

量子位
F
Fortinet All Blogs
小众软件
小众软件
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Azure Blog
Microsoft Azure Blog
J
Java Code Geeks
有赞技术团队
有赞技术团队
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
A
About on SuperTechFans
I
InfoQ
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
H
Hackread – Cybersecurity News, Data Breaches, AI and More
罗磊的独立博客
C
Check Point Blog
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale 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