WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementMarch 11, 2010
server management, apache tutorials, hosting tutorials, cpanel, server security
Home / Hosting Tutorials / Windows Server Tutorials / Howto: Install CDONTS Windows 2003

Howto: Install CDONTS Windows 2003



Printer Friendly Printer Friendly Send to a friend Send to a friend
By : ramprage Rating : Average Rating : 6.53 From 184 Voter(s)

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:WindowsSystem32 folder
3) Register the CDONTS.DLL component on your server by clicking start >> run >> type :
regsvr32 c:winntsystem32cdonts.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.



Article provided by WebHostGear.com

Based on: http://www.windows-2003-hosting.co.uk/?pagename=cdontshowto

Thanks to: darkelder of Ev1 forums

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.

Rate this Article :

1

2

3

4

5

6

7

8

9

10
Poor Excellent

Related Articles


� Howto: Install PHP on Windows 2003 Web Edition


Discuss this article with others in our new hosting forums

Comments / Feedback

Alan Logan
Thank you for the article... I am now running cdonts on my 2003 server. Excellent!
The path to register this dll on the tutorial is incorrect though. It is listed as
c:winntsystem32cdonts.dll" when the directory is actually
c:windowssystem32cdonts.dll in Enterprise 2003 server. Just though you should know!
John Daly
I wrote the one at the windows website. took me ages :)

Im glad i could be of help. any probs post it here
Sergio Najera
I am getting a LoadLibrary("C:WINDOWSsystem32cddonts.dll") failed - The specified module could not be found.

I know the path is correct, as I even used the browse button to make sure it wasn't a mistake on my part.

Any ideas?
Tom F
You probably miss GAPI32.DLL (needed by newer Versions of cdonts.dll).

Can copy it from XP, etc.
Faiyaz Vorajee
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.

Mostly found

regsvr32 c:windowssystem32cdonts.dll

Regards
Phil
This worked fine for me.
I ran into an additional problem: after I had followed all the steps I got this error message from my browser

"Server object error 'ASP 0178 : 80070005'" and something about permission errors.

this site here details how to fix it
http://support.microsoft.com/kb/315454.
Ignore the bit about frontpage and scroll down to 'resolution'.

I'm not sure about the wisdom of giving eveybody permissions, but I couldn't find any other user that would make it work.
Hitesh Samvedi
Please give Read and Execute permission on the CDONTS.dll to User "NETWORK SERVICE"
Tony Pead
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!
ir2
i have given Read and Execute permission on the CDONTS.dll to User "NETWORK SERVICE"

but error is same "Permission denied" why it does happen?

i give EVERYBODY have ALL permissions but its same all same...

(i have do them on the CDOSYS.DLL too im using plesk 7)
rezapasha
this is instaleed for me but the mails are not send?!
ashish
Hi
I tried to register CODNTS.dll in 2003 but my ASP page gives error permission denied


What shld I do
phim
command is RegSvr32 cdonts.dll

that is IT
mary
about CDONTS.dll for mail in asp
Permission denied error!
Hi,
At first, thanks for this guide.
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:
Microsoft VBScript runtime error '800a0046'
Permission denied

any help for me?
thanks in advance!

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

Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.
"
John
what is cdont??
ana
can you explain me whgat is cdonts?????
Ghostzone.mine.nu
Hi Everyone. My Condts Is Succsesfully installed but it wont work.. Iam not getting any errors.

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

Need help.
naval
hi !
I have soleved this problem
by giving Permission to Mail folder
Every user read write permissiong
Hiep Pham CalState9
CDONTS is designed for window 2000. Use CDOSYS for window 2003 instead.

Make sure you turn on and configure the SMTP first

The code below is for pure ASP.

Set objMail = CreateObject("CDOSYS.message")
objMail.From = "...@calstate9.com"
objMail.To = "...@calstate9.com"
objMail.Subject = "Window 2003 environment"
objMail.HTMLBody = "CalState9"
objMail.Send
Set objMail = Nothing

For .Net environment
Imports System.Web.Mail

Dim msgMail As MailMessage = New MailMessage

msgMail.To = "...@calstate9.com"
msgMail.From = "...@calstate9.com"
msgMail.Subject = "Window 2003 environment"

msgMail.BodyFormat = MailFormat.Html
Dim strBody As String = "CalState9"
msgMail.Body = strBody

SmtpMail.SmtpServer = "your mail server"
SmtpMail.Send(msgMail)

arun
great, it did help me a lot
Thanks for the great work
Chris Simonis
Hello,

Thanks for the tip. Anyway, I'm facing a problem installing CDONTS on my server.

When I run "regsvr32 C:WINDOWSsystem32cdonts.dll >> ENTER" I get the following:

- first: I get a "DllRegisterServer in C:WINDOWSsystem32cdonts.dll succeeded." message

- after the first message: I get an error message "LoadLibrary(">>") failed - The specified module could not be found."

Can anybody help me on this ?
Rogue
Microsoft VBScript runtime error '800a0046'
Permission denied

add the IIS_WPG group to your default smtp security.
Rogue
LoadLibrary(">>") error.

Copy cdont.dll to C:WINDOWSsystem32

then in cmd prompt cd to the above path and just type regsvr32 cdonts.dll should successfully register the DLL
Michael
Thanks so much -- this helped me solve the problem very quickly :)
Jake
For MS Server Standard 2003 R1
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.

regsvr32 c:windowssystem32cdonts.dll
anitha
I am not getting any errors, when i use the above code for sending mail.But i couldnot receive the mail. y?
Tim
Too easy.. thanks!
Patrick
This is helpful...nice and easy. Cheers!
Solution
Be sure that your IUSR account has permissions to write to
Inetpubmailrootpickup
Edilson
regsvr32 c:windowssystem32cdonts.dll
Irinel
Thanks a lot Rogue!

Adding IIS_WPG group to the SMTP security sorted the problem for me.

Microsoft VBScript runtime error '800a0046'
Permission denied
Thuy linh
Thank you
Murlidhar & Faisal
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.

Regard,
Murlidhar & Faisal
Mumbai(India)
Rogue
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.

happy to help Irinel !!!!
robet
When i run "regsvr32 c:windowssystem32cdonts.dll", i get the following error message:

The module "c:windowssystem32cdonts.dll" was loaded but the call to DllRegisterServer failed with error code 0x80020009.

can anybody help me about this?
aca
Don't work

Objeto Server error 'ASP 0177 : 800401f3'

Error en Server.CreateObject

/..../Seguimiento3.asp, línea 125

800401f3 ...
Nassau County Jobs
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 -

 Add Comment
Name
Email
Image Code
Refresh Image

Comments / Feedback



Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script

Server Tutorials


WebHostGear Reviewed by Ping Zine - Click here

Links:
Lunarpages Coupon