Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Is CDONTs installed and working correctly?

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS 6.0 URL Authorization  
Author Message
siegfried

External


Since: Dec 15, 2004
Posts: 2



(Msg. 1) Posted: Wed Dec 15, 2004 3:44 pm
Post subject: Is CDONTs installed and working correctly?
Archived from groups: microsoft>public>inetserver>iis (more info?)

We are moving a perl application from IIS5/Win2000 to IIS6/XP2003. We are
using CDONTs on the old installation and it works. Perl aborts on the new
installation when we (er, the perl script) create an instance of the CDONTS
COM object.

(1) How do I determine if CDONTs is installed?
(2) Is there a way to determine if CDONTs is working correctly (besides
running my perl script)?

Thanks,
Siegfried

 >> Stay informed about: Is CDONTs installed and working correctly? 
Back to top
Login to vote
user1580

External


Since: Apr 03, 2004
Posts: 367



(Msg. 2) Posted: Wed Dec 15, 2004 7:35 pm
Post subject: Re: Is CDONTs installed and working correctly? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Siegfried Heintze" <siegfried RemoveThis @heintze.com> wrote in message
news:%23SiUmev4EHA.3864@TK2MSFTNGP15.phx.gbl...
 > We are moving a perl application from IIS5/Win2000 to IIS6/XP2003. We are
 > using CDONTs on the old installation and it works. Perl aborts on the new
 > installation when we (er, the perl script) create an instance of the
 > CDONTS
 > COM object.
 >
 > (1) How do I determine if CDONTs is installed?
You shouldn't . CDONTS is deprecated and starting with XP 2003 it is not
installed anymore.

Use CDO instead.

Set mail = CreateObject("CDO.Message")
Set cdoConfig = CreateObject("CDO.Configuration")
Mail.From = Chr(34) + strName + Chr(34) + (" <" + strEmail + ">")
mail.To = "mail@mail.com"

with cdoConfig.fields
.item("http://schemas.microsoft.com/cdo/configuration/sendusing").value =
2
.item("http://schemas.microsoft.com/cdo/configuration/smtpserver").value
= "yoursmtpserver"
.update
End With
Set mail.Configuration = cdoConfig
Mail.From = "blah@blah.invalid"
mail.Subject ="Test"
mail.Textbody= strAbout
Mail.Send

 > (2) Is there a way to determine if CDONTs is working correctly (besides
 > running my perl script)?

If an object is not existing, just try-catch the error. But again, CDONTS is
not supported anymore. Sorry.

 > Thanks,
 > Siegfried
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Is CDONTs installed and working correctly? 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 2972



(Msg. 3) Posted: Thu Dec 16, 2004 3:35 am
Post subject: Re: Is CDONTs installed and working correctly? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

As already said by Egbert Nierop, CDONTS is not supported on Windows Server
2003, and replaced by CDO. So you should consider rewriting the code.

But, if you upgrade a server, the cdonts.dll file will be available, but it
is possible that it is not registred. Try to run:

regsvr32 windir\system32\cdonts.dll

Where windir is the windows folder.

Also see:

<a style='text-decoration: underline;' href="http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/iisdg_dep_tnoc.asp" target="_blank">http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/...loyguid</a>

for more information.

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a>


"Siegfried Heintze" <siegfried RemoveThis @heintze.com> wrote in message
news:%23SiUmev4EHA.3864@TK2MSFTNGP15.phx.gbl...
 > We are moving a perl application from IIS5/Win2000 to IIS6/XP2003. We are
 > using CDONTs on the old installation and it works. Perl aborts on the new
 > installation when we (er, the perl script) create an instance of the
 > CDONTS
 > COM object.
 >
 > (1) How do I determine if CDONTs is installed?
 > (2) Is there a way to determine if CDONTs is working correctly (besides
 > running my perl script)?
 >
 > Thanks,
 > Siegfried
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Is CDONTs installed and working correctly? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SQL Virtual Directory not working correctly. - Hi, I'm trying to set a Virtual directory for SQL server 2000 on IIS, initially to run a stored procedure through the url. However when I type the execute command in the the url on a third machine: ..

CDONTS ASP email stopped working - All ASP pages using CDONTS mail stopped working and began showing this error on Monday morning. There are no know changes made to the IIS server or the code. The error returned in the brower is: Error Type: (0x8007045A) /Feedback.asp, line 28 Here is m...

Problem getting the cdonts object working with SMTP - I am attempting to write some ASP code to send email from the SMTP server which is available in IIS5. I know that the SMTP part at least is working ok, as I have managed to telnet to port 25, and send an email from it that way. When it comes from..

iis just installed but not working - Hi I just installed iis via my XO PRO cd and it's not working, I go into Internet Information Services and there is nothing there at all. I cannot find the World Wide Web service to start it in the Services Tool either. Is there something I am missing?...

internet printing not working since SUS installed - Hi guys, I have had IPP setup and working ok in IIS6 (win2k3 box). I have now installed SUS on the same box and when I try and access http://servername/printers I get a 500 internal server error. Has anyone seen this before? Thanks.
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]