简体   繁体   中英

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

I have server with IIS7. A lot of sites that hosted on it.
We tried to implement email sending on one of the classic asp site.
I know it is not difficult at all.
But it can't create cdonts activeX object. (error '800a01ad'. ActiveX component can't create object)
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. It was 64 before. cdonts is 32 bit dll. Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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