Marty
Sun Oct 10 23:34:04 CDT 2004
"Sheldon" <Sheldon@discussions.microsoft.com> wrote in message
news:0F51335F-C2ED-4995-9109-E9E4EAE66335@microsoft.com...
> When I run the following code...
>
> Dim objMail
> Set objMail = CreateObject("CDONTS.NewMail")
>
> ... I get the error "The specified module could not be found."
> Code: 8007007E
> Source: (null)
>
> A Microsoft article I downloaded suggested I uninstall and reinstall
> Internet Explorer and Outlook Express, which I did. It suggested also
that I
> reinstall CDOSys.dll by running regsvr32 "\WINNT\System32\CDOSYS.dll",
which
> I did. The install was successful, but I still cannot run the script.
> Suggestions, anybody?
Do you have the SMTP service installed and running, I think this is
required. It's a subcomponent of IIS.
Do you have CDONTS.DLL registered on your machine? I think this file has to
be manually copied to Windows 2000, and it's no longer supported. You
should consider using CDO, which ships with Windows 2000 and later.
"CDONTS) was originally implemented to use with Microsoft Commercial
Internet Server (MCIS), and was included in the Windows NT Option Pack.
CDONTS was also included as part of Windows 2000 for compatibility with
Windows NT. CDONTS is not included with Microsoft Windows XP and subsequent
releases of Windows. Microsoft Collaboration Data Objects for Windows 2000
(CDOSYS) was implemented and included as a Windows 2000 operating system
component. The existing code that is based on CDONTS must migrate to
CDOSYS."
http://support.microsoft.com/?kbid=810702
http://support.microsoft.com/?kbid=177850