简体   繁体   English

Server.CreateObject(“ CDONTS.NewMail”)无法正常工作

[英]Server.CreateObject(“CDONTS.NewMail”) is not working

I have server with IIS7. 我有带有IIS7的服务器。 A lot of sites that hosted on it. 许多托管在其上的网站。
We tried to implement email sending on one of the classic asp site. 我们试图在经典的ASP网站之一上实现电子邮件发送。
I know it is not difficult at all. 我知道这并不困难。
But it can't create cdonts activeX object. 但是它不能创建ActiveX对象。 (error '800a01ad'. ActiveX component can't create object) (错误“ 800a01ad”。ActiveX组件无法创建对象)
It is working well on the rest sites. 在其余站点上运行良好。 I tried to copy two pages on the different site that is located on same server and code is working well. 我试图在位于同一服务器上的不同站点上复制两个页面,并且代码运行良好。
So what may cause this type of problem? 那么什么可能导致这种类型的问题呢?

Oh, It was resolved. 哦,解决了。 I switched site's application pool to 32bit. 我将站点的应用程序池切换为32位。 It was 64 before. 之前是64岁。 cdonts is 32 bit dll. cdonts是32位dll。 Thanks. 谢谢。

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

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