刚编好了发送邮件的程序,能够成功运行。由于中了木马,被逼重装系统。重装完系统后就这个程序就不能运行了。提示错误:Could not access 'CDO.Message' object.    究竟是什么问题呢?
“SendUsing”配置值无效。 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: “SendUsing”配置值无效。 Source Error: Line 98:  }
Line 99: 
Line 100: SmtpMail.Send(aMail);
Line 101:
Line 102: /* Source File: c:\inetpub\wwwroot\xmlcourse\lecemail.aspx.cs    Line: 100 Stack Trace: [COMException (0x80040220): “SendUsing”配置值无效。
][TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
   System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +473
   System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) +29
   System.Web.Mail.LateBoundAccessHelper.CallMethod(Type type, Object obj, String methodName, Object[] args)
   System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args)[HttpException (0x80004005): Could not access 'CDO.Message' object.]
   System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args)
   System.Web.Mail.CdoSysHelper.Send(MailMessage message)
   System.Web.Mail.SmtpMail.Send(MailMessage message)
   XMLCourse.LecEmail.btnSend_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\xmlcourse\lecemail.aspx.cs:100
   System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   System.Web.UI.Page.ProcessRequestMain() 帮忙看看究竟是出了什么问题呢?帮忙看看究竟是出了什么问题呢?
我估计是系统设置有问题。因为我重装系统之前程序还能运行的,重装完程序就运行不了了。