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

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.
 
A

Anantha Narayanan Vijayaraghavan

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.
 
O

Omar E Contreras

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
 
W

Willy Denoyette [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top