Could not create 'CDONTS.NewMail' object...

  • Thread starter Thread starter Guillaume Hanique
  • Start date Start date
G

Guillaume Hanique

Hello!

Could anybody help me.

I wrote a program that interprets information in a database, and can send
information via email. The program works fine on my developer machine, but
when I run it on an other computer, I get the error "Could not create
'CDONTS.NewMail' object..." a lot of times and then an error: "Failed to
load resources from resource file. Please check your Setup.".

Has anybody seen this error before? What should I do? I cannot find much
information on the internet or in newsgroups, so I really hope somebody can
help me out here.

Thanks,
Guillaume Hanique.
 
Hi Guillaume ,

Cdonts will work only in windows machine. If the machine is is windows OS
then check the settings in IIS server. Check whether the it is switched on.

Try with
Set objConfiguration = CreateObject("CDO.Configuration")

CDO>Configuration object. This is also used for sending email This object is
platform independent.
 
CDONTS is not longer support by WinXP, maybe your developer machine has
Win2K and the other one has a newer version of Windows. I have to use
"System.Web.Mail" namespace in VB.Net in order to send the mail, works
almost the same as CDONTS but you have to code in .Net (VB.Net or C# or C++,
etc), as far as I know.
Bye

Omar
 
Guillaume Hanique wrote:
|| Hello!
||
|| Could anybody help me.
||
|| I wrote a program that interprets information in a database, and can
|| send information via email. The program works fine on my developer
|| machine, but when I run it on an other computer, I get the error
|| "Could not create 'CDONTS.NewMail' object..." a lot of times and
|| then an error: "Failed to load resources from resource file. Please
|| check your Setup.".
||
|| Has anybody seen this error before? What should I do? I cannot find
|| much information on the internet or in newsgroups, so I really hope
|| somebody can help me out here.
||
|| Thanks,
|| Guillaume Hanique.

Please specify at least which OS both machines are running.

Willy.
 
Back
Top