Howto: Install CDONTS Windows 2003 Published: Mar 17, 2005
  • Rating

    4/5

As you should know, on Windows 2003 Server, CDONTS was deprecated and CDOSYS is the new one Microsoft email sender component (read more on Microsoft Website).

Howto: Install CDONTS Windows 2003
As you should know, on Windows 2003 Server, CDONTS was deprecated and CDOSYS is the new one Microsoft email sender component (read more on Microsoft Website)

However, some ASP scripts will require CDONTS and customers can need CDONTS install.

So, to install CDONTS

1) First, install MailEnable or other SMTP server. Make sure it is running.
2) Download and unzip cdonts.dll to C:\Windows\System32 folder
3) Register the CDONTS.DLL component on your server by clicking start >> run >> type :
regsvr32 c:\winnt\system32\cdonts.dll >> ENTER

Now CDONTS should being work perfectly.

To know if CDONTS is installed you can use http://www.pensaworks.com/prg_com.asp to view a list of installed components.

Thanks to: darkelder of Ev1 forums

  • Rating

    4/5

Related Articles

Comments (39)

  • Gravatar - Alan Logan
    Alan Logan 16:08, April 14, 2005
    Thank you for the article... I am now running cdonts on my 2003 server. Excellent! <br />
    The path to register this dll on the tutorial is incorrect though. It is listed as <br />
    c:\winnt\system32cdonts.dll" when the directory is actually<br />
    c:\windows\system32\cdonts.dll in Enterprise 2003 server. Just though you should know!
  • Gravatar - John Daly
    John Daly 15:50, June 3, 2005
    I wrote the one at the windows website. took me ages :)<br />
    <br />
    Im glad i could be of help. any probs post it here
  • Gravatar - Sergio Najera
    Sergio Najera 01:37, October 12, 2005
    I am getting a LoadLibrary("C:\WINDOWS\system32\cddonts.dll") failed - The specified module could not be found.<br />
    <br />
    I know the path is correct, as I even used the browse button to make sure it wasn't a mistake on my part.<br />
    <br />
    Any ideas?<br />
  • Gravatar - Tom F
    Tom F 00:38, October 24, 2005
    You probably miss GAPI32.DLL (needed by newer Versions of cdonts.dll).<br />
    <br />
    Can copy it from XP, etc.
  • Gravatar - Faiyaz Vorajee
    Faiyaz Vorajee 04:29, November 10, 2005
    Hi... Thanks for the post. It worked for me. For others who wants to install cdonts on windows2003 please make sure that you will use the path according to base directory.<br />
    <br />
    Mostly found<br />
    <br />
    regsvr32 c:\windows\system32\cdonts.dll<br />
    <br />
    Regards
  • Gravatar - Phil
    Phil 17:32, November 23, 2005
    This worked fine for me.<br />
    I ran into an additional problem: after I had followed all the steps I got this error message from my browser<br />
    <br />
    "Server object error 'ASP 0178 : 80070005'" and something about permission errors.<br />
    <br />
    this site here details how to fix it<br />
    http://support.microsoft.com/kb/315454.<br />
    Ignore the bit about frontpage and scroll down to 'resolution'.<br />
    <br />
    I'm not sure about the wisdom of giving eveybody permissions, but I couldn't find any other user that would make it work.
  • Gravatar - Hitesh Samvedi
    Hitesh Samvedi 18:10, December 1, 2005
    Please give Read and Execute permission on the CDONTS.dll to User "NETWORK SERVICE"
  • Gravatar - Tony Pead
    Tony Pead 11:58, December 6, 2005
    Having spent ages looking for a way to make javascript work with CDOSYS and being told CDONTS doesn't work with W2K3 I finally get some help - but remember to turn on the smtp server which is the step I missed 4 days ago!
  • Gravatar - ir2
    ir2 17:59, December 7, 2005
    i have given Read and Execute permission on the CDONTS.dll to User "NETWORK SERVICE"<br />
    <br />
    but error is same "Permission denied" why it does happen?<br />
    <br />
    i give EVERYBODY have ALL permissions but its same all same...<br />
    <br />
    (i have do them on the CDOSYS.DLL too im using plesk 7)
  • Gravatar - rezapasha
    rezapasha 20:19, January 2, 2006
    this is instaleed for me but the mails are not send?! <br />
  • Gravatar - ashish
    ashish 13:26, February 15, 2006
    Hi <br />
    I tried to register CODNTS.dll in 2003 but my ASP page gives error permission denied<br />
    <br />
    <br />
    What shld I do
  • Gravatar - phim
    phim 08:40, February 25, 2006
    command is RegSvr32 cdonts.dll <br />
    <br />
    that is IT
  • Gravatar - mary
    mary 08:21, March 5, 2006
    about CDONTS.dll for mail in asp
  • Gravatar - Permission denied error!
    Permission denied error! 04:41, June 8, 2006
    Hi, <br />
    At first, thanks for this guide. <br />
    I register CDONTS.dll in windows2003; granted read&execute on the cdonts.dll file; and grant read&write permission on Mailroot directory. But i still get this error: <br />
    Microsoft VBScript runtime error '800a0046'<br />
    Permission denied <br />
    <br />
    any help for me?<br />
    thanks in advance!<br />
    <br />
  • Gravatar - sam
    sam 08:39, July 16, 2006
    i'm using the same steps but it says dll registory something like that also my mails are being sent successfully and never delivered and they fail after 8hrs i'm losing money like nay thing please for god sake help me
  • Gravatar - sam
    sam 08:47, July 16, 2006
    i found in the intpub and in the mail queue in the que there are the mails that i tried to post they say "This is an automatically generated Delivery Status Notification.<br />
    <br />
    Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.<br />
    "<br />
  • Gravatar - John
    John 07:39, July 19, 2006
    what is cdont??
  • Gravatar - ana
    ana 15:07, July 24, 2006
    can you explain me whgat is cdonts?????
  • Gravatar - Ghostzone.mine.nu
    Ghostzone.mine.nu 15:59, August 22, 2006
    Hi Everyone. My Condts Is Succsesfully installed but it wont work.. Iam not getting any errors.<br />
    <br />
    Its sending the mail but its not doing it anyway. My ASP code send to email that is registrated in my DATABASE. Dont get it .. <br />
    <br />
    Need help.
  • Gravatar - naval
    naval 17:56, September 18, 2006
    hi !<br />
    I have soleved this problem<br />
    by giving Permission to Mail folder<br />
    Every user read write permissiong
  • Gravatar - Hiep Pham CalState9
    Hiep Pham CalState9 00:21, September 22, 2006
    CDONTS is designed for window 2000. Use CDOSYS for window 2003 instead.<br />
    <br />
    Make sure you turn on and configure the SMTP first<br />
    <br />
    The code below is for pure ASP. <br />
    <br />
    Set objMail = CreateObject("CDOSYS.message")<br />
    objMail.From = "...@calstate9.com"<br />
    objMail.To = "...@calstate9.com"<br />
    objMail.Subject = "Window 2003 environment"<br />
    objMail.HTMLBody = "CalState9"<br />
    objMail.Send<br />
    Set objMail = Nothing<br />
    <br />
    For .Net environment<br />
    Imports System.Web.Mail<br />
    <br />
    Dim msgMail As MailMessage = New MailMessage<br />
    <br />
    msgMail.To = "...@calstate9.com"<br />
    msgMail.From = "...@calstate9.com"<br />
    msgMail.Subject = "Window 2003 environment"<br />
    <br />
    msgMail.BodyFormat = MailFormat.Html<br />
    Dim strBody As String = "<b>CalState9</b>"<br />
    msgMail.Body = strBody<br />
    <br />
    SmtpMail.SmtpServer = "your mail server"<br />
    SmtpMail.Send(msgMail)<br />
    <br />
  • Gravatar - arun
    arun 07:59, November 6, 2006
    great, it did help me a lot<br />
    Thanks for the great work
  • Gravatar - Chris Simonis
    Chris Simonis 10:23, November 16, 2006
    Hello,<br />
    <br />
    Thanks for the tip. Anyway, I'm facing a problem installing CDONTS on my server.<br />
    <br />
    When I run "regsvr32 C:\WINDOWS\system32\cdonts.dll >> ENTER" I get the following:<br />
    <br />
    - first: I get a "DllRegisterServer in C:\WINDOWS\system32\cdonts.dll succeeded." message<br />
    <br />
    - after the first message: I get an error message "LoadLibrary(">>") failed - The specified module could not be found."<br />
    <br />
    Can anybody help me on this ?
  • Gravatar - Rogue
    Rogue 17:27, November 25, 2006
    Microsoft VBScript runtime error '800a0046'<br />
    Permission denied <br />
    <br />
    add the IIS_WPG group to your default smtp security.
  • Gravatar - Rogue
    Rogue 17:33, November 25, 2006
    LoadLibrary(">>") error. <br />
    <br />
    Copy cdont.dll to C:WINDOWS\system32\<br />
    <br />
    then in cmd prompt cd to the above path and just type regsvr32 cdonts.dll should successfully register the DLL
  • Gravatar - Michael
    Michael 19:44, December 14, 2006
    Thanks so much -- this helped me solve the problem very quickly :)
  • Gravatar - Jake
    Jake 16:04, March 14, 2007
    For MS Server Standard 2003 R1<br />
    in regedit it must be typed like this or it will fail out. If you have not added the cdonts.dll from the top of this page do it before proceeding with the regedit.<br />
    <br />
    regsvr32 c:\windows\system32\cdonts.dll
  • Gravatar - anitha
    anitha 07:48, July 24, 2007
    I am not getting any errors, when i use the above code for sending mail.But i couldnot receive the mail. y?
  • Gravatar - Tim
    Tim 08:00, August 23, 2007
    Too easy.. thanks!
  • Gravatar - Patrick
    Patrick 01:49, September 9, 2007
    This is helpful...nice and easy. Cheers!
  • Gravatar - Solution
    Solution 18:23, September 9, 2007
    Be sure that your IUSR account has permissions to write to<br />
    \Inetpub\mailroot\pickup
  • Gravatar - Edilson
    Edilson 16:09, January 10, 2008
    regsvr32 c:\windows\system32\cdonts.dll
  • Gravatar - Irinel
    Irinel 11:30, March 10, 2008
    Thanks a lot Rogue! <br />
    <br />
    Adding IIS_WPG group to the SMTP security sorted the problem for me.<br />
    <br />
    Microsoft VBScript runtime error '800a0046'<br />
    Permission denied
  • Gravatar - Thuy linh
    Thuy linh 14:16, April 13, 2008
    Thank you
  • Gravatar - Murlidhar & Faisal
    Murlidhar & Faisal 14:34, April 25, 2008
    I have successfully installed Cdonts.dll file but when I am sending mail to particular domain it stuck in c:/inetpub/mailroot/queue. and if send the same mail to another domain it is working fine. Can any body help me.<br />
    <br />
    Regard,<br />
    Murlidhar & Faisal<br />
    Mumbai(India)
  • Gravatar - Rogue
    Rogue 19:15, September 3, 2008
    Murlidhar the remote server you are trying to send to may not be accepting connections from your SMTP.. have you tried the telnet test to send an email from your server command prompt. <br />
    <br />
    happy to help Irinel !!!!<br />
  • Gravatar - robet
    robet 05:16, September 12, 2008
    When i run "regsvr32 c:\windows\system32\cdonts.dll", i get the following error message:<br />
    <br />
    The module "c:\windows\system32\cdonts.dll" was loaded but the call to DllRegisterServer failed with error code 0x80020009.<br />
    <br />
    can anybody help me about this?
  • Gravatar - aca
    aca 21:53, December 9, 2008
    Don't work<br />
    <br />
    Objeto Server error 'ASP 0177 : 800401f3' <br />
    <br />
    Error en Server.CreateObject <br />
    <br />
    /..../Seguimiento3.asp, línea 125 <br />
    <br />
    800401f3 ...<br />
  • Gravatar - Nassau County Jobs
    Nassau County Jobs 21:03, May 11, 2009
    So when i register it tit says succeeded but why am I getting a permission denied on Win 2003. Is there any other dll or processor I can use? Thanks Ted -
    <br />

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2017 WebHostGear.com