I have a program which has ran every night fine until last night. Now it
bombs with the following errors. I have also broke this down to its
simplest form for sending the mail
(http://support.microsoft.com/default...B;EN-US;314201) which gives
the same error. This server does not have any firewall software running on
it as it is the exchange server for the domain. I can also telnet smtp and
send mail using localhost, 127.0.0.1, machinename, and mx name. I have
copied the system.web.dll from a dev machine over to the running directory
and still same error msg. Any ideas?
SIMPLE FORM
----------------------------------------------------
Could not access 'CDO.Message' object.
Exception has been thrown by the target of an invocation.
The transport failed to connect to the server.
Unhandled Exception: System.Web.Http Exception: Could not access
'CDO.Message' ob
ject. ---> System.Reflecti on.TargetInvoca tionException: Exception has been
throw
n by the target of an invocation. --->
System.Runtime. InteropServices .COMExcepti
on (0x80040213): The transport failed to connect to the server.
--- End of inner exception stack trace ---
at System.RuntimeT ype.InvokeDispM ethod(String name, BindingFlags
invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[]
namedParameters )
at System.RuntimeT ype.InvokeMembe r(String name, BindingFlags invokeAttr,
Bind
er binder, Object target, Object[] args, ParameterModifi er[] modifiers,
CultureI
nfo culture, String[] namedParameters )
at System.Web.Mail .LateBoundAcces sHelper.CallMet hod(Object obj, String
method
Name, Object[] args)
--- End of inner exception stack trace ---
at System.Web.Mail .LateBoundAcces sHelper.CallMet hod(Object obj, String
method
Name, Object[] args)
at System.Web.Mail .CdoSysHelper.S end(MailMessage message)
at System.Web.Mail .SmtpMail.Send( MailMessage message)
at testmail.Module 1.Main()