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.HttpException: Could not access
'CDO.Message' ob
ject. ---> System.Reflection.TargetInvocationException: 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.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[]
namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Bind
er binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureI
nfo culture, String[] namedParameters)
at System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
method
Name, Object[] args)
--- End of inner exception stack trace ---
at System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
method
Name, Object[] args)
at System.Web.Mail.CdoSysHelper.Send(MailMessage message)
at System.Web.Mail.SmtpMail.Send(MailMessage message)
at testmail.Module1.Main()