PC Review


Reply
Thread Tools Rate Thread

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

 
 
Guillaume Hanique
Guest
Posts: n/a
 
      21st Jul 2003
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.


 
Reply With Quote
 
 
 
 
Anantha Narayanan Vijayaraghavan
Guest
Posts: n/a
 
      21st Jul 2003
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.

--
Thanx And Regards

Anantha Narayanan Vijayaraghavan
(Software Engineer)


 
Reply With Quote
 
Omar E Contreras
Guest
Posts: n/a
 
      23rd Jul 2003
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" <(E-Mail Removed)> escribió en el
mensaje news:(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      23rd Jul 2003
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows server 2003 CDONTS can't create object =?Utf-8?B?Y2V0?= Microsoft Windows 2000 1 15th Dec 2004 06:08 AM
Could not create 'CDONTS.NewMail' object kiran Microsoft Dot NET 4 20th Jan 2004 01:53 PM
Could not create 'CDONTS.NewMail' object kiran Microsoft Dot NET Framework 1 18th Jan 2004 12:01 AM
Could not create 'CDONTS.NewMail' object kiran Microsoft Dot NET Framework Forms 1 17th Jan 2004 12:06 PM
SendMail problem: Could not create 'CDONTS.NewMail' Anthony Boudouvas Microsoft C# .NET 2 22nd Sep 2003 04:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:55 AM.