简体   繁体   English

ActiveX组件无法创建对象:“ CDONTS.Newmail”

[英]ActiveX component can't create object: 'CDONTS.Newmail'

I'm getting this error on a windows 2003 server: 我在Windows 2003服务器上收到此错误:

Microsoft VBScript runtime error '800a01ad' Microsoft VBScript运行时错误'800a01ad'

ActiveX component can't create object: 'CDONTS.Newmail' ActiveX组件无法创建对象:“ CDONTS.Newmail”

I really don't want to have to change the code to something else. 我真的不想不必将代码更改为其他内容。 is there some way i can get CDONTS to work onw indows 2003. 有什么办法可以使CDONTS在Windows 2003上工作。

You can install and run CDONTS on Windows 2003 - you'll need to download the DLL (try http://www.thevbzone.com/d_DLL.htm ) and then install it by running: 您可以在Windows 2003上安装并运行CDONTS-您需要下载DLL(尝试http://www.thevbzone.com/d_DLL.htm ),然后通过运行以下命令进行安装:

C:\Inetpub\WebDlls>regsvr32 cdonts.dll

Then do an iisreset and you should find your scripts can create CDONTS.NewMail as they could on Windows NT and 2000. 然后执行iisreset,您应该发现脚本可以像在Windows NT和2000上一样创建CDONTS.NewMail。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM