Tom Knowlton
asked on
Please help - System.Web.Mail cannot access CDO.Message - HTTPException?
There was a problem faxing. Details: System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetIn vocationEx ception: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServ ices.COMEx ception (0x80040220): The "SendUsing" configuration value is invalid.
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeD ispMethod( String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeM ember(Stri ng name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at System.Web.Mail.LateBoundA ccessHelpe r.CallMeth od(Object obj, String methodName, Object[] args)
--- End of inner exception stack trace ---
at System.Web.Mail.LateBoundA ccessHelpe r.CallMeth od(Object obj, String methodName, Object[] args)
at System.Web.Mail.CdoSysHelp er.Send(Ma ilMessage message)
at System.Web.Mail.SmtpMail.S end(MailMe ssage message)
at BuyersFund.NEOMail.NEOMail .SendFax()
I do not know how to fix this.
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeD
at System.RuntimeType.InvokeM
at System.Web.Mail.LateBoundA
--- End of inner exception stack trace ---
at System.Web.Mail.LateBoundA
at System.Web.Mail.CdoSysHelp
at System.Web.Mail.SmtpMail.S
at BuyersFund.NEOMail.NEOMail
I do not know how to fix this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How can I find out the name of my SMTP server if I don't already know it?
ASKER
I set my SMTP server to "localhost".
Now I get a new error message:
There was a problem faxing. Details: System.Reflection.TargetIn vocationEx ception: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServ ices.COMEx ception (0x80029C4A): Error loading type library/DLL.
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeD ispMethod( String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeM ember(Stri ng name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at System.Web.Mail.CdoSysHelp er.Send(Ma ilMessage message)
at System.Web.Mail.SmtpMail.S end(MailMe ssage message)
at BuyersFund.NEOMail.NEOMail .SendFax()
Now I get a new error message:
There was a problem faxing. Details: System.Reflection.TargetIn
--- End of inner exception stack trace ---
at System.RuntimeType.InvokeD
at System.RuntimeType.InvokeM
at System.Web.Mail.CdoSysHelp
at System.Web.Mail.SmtpMail.S
at BuyersFund.NEOMail.NEOMail
Which OS are you using? Win2K or Windows XP? If Windows XP, then you might not have CDONTS.dll that is required in messaging. Grab this dll from any Win2K PC and register it using regsvr32 CDONTS.dll.
Best, Nauman
Best, Nauman
1. Copy CDONTS.dll to System32 dir.
2. Start -> Run -> cmd
type: regsvr32 c:\winnt\System32\CDONTS.d ll
-Nauman
2. Start -> Run -> cmd
type: regsvr32 c:\winnt\System32\CDONTS.d
-Nauman
ASKER
The Network Admin just recommended I use "Local System" versus logging in (under the Windows Service I am running).
This seems to have cleared-up the error messages as far as e-mail goes....but now I get another message (which I will post seperately).
Thanks,
Tom
This seems to have cleared-up the error messages as far as e-mail goes....but now I get another message (which I will post seperately).
Thanks,
Tom
-Nauman