[thelist] Win Server 2003 & CDONTS

Ken Schaefer ken at adOpenStatic.com
Mon Dec 29 17:29:12 CST 2003


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Chris Marsh" <chris at ecleanuk.com>
Subject: [thelist] Win Server 2003 & CDONTS


: I am getting the error "Server.CreateObject Failed"
: on the following line of code on a Windows Server 2003 box:
:
: Set oCDONTS = Server.CreateObject("CDONTS.NewMail")
:
: Is CDONTS no longer included with Server 2003?
: Any advice on how to address this problem would
: be most welcome.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CDONTS (CDO for NT Server) is deprecated. It was included with Windows 2000
for backwards compatibility.

Options:
a) Use CDOSYS instead (CDO for Windows 2000). Joshua posted a link, or you
can use:
http://msdn.microsoft.com/library/?url=/library/en-us/exchanchor/htms/msexchsvr_cdowin2000.asp?frame=true
to get to the home page/

b) Get a copy of CDONTS off an old machine and register it on your WIndows
2003 Server. I would only recommend doing this if you have a lot of older
code already that uses CDONTS and you have moved the site over to a Windows
2003 Server. Since CDONTS is not supported on Windows 2003 Server you don't
know how long it'll keep working.

Cheers
Ken

Microsoft MVP - Windows Server (IIS)



More information about the thelist mailing list