CDONTS works sometimes and sometimes not

I have a dedicated server for all my sites.
All my sites use CDONTS. I just set up a new site and it's giving me this error:
ActiveX component can't create object: 'CDONTS.NewMail'
Is there a setting I have to put in IIS7 to make it work?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You should be using CDOSYS, CDONTS doesn't come with IIS7
rivkamakAuthor Commented:
we made it work on the other sites on that server.
Then you must have copied it and manually registered it on the server.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

rivkamakAuthor Commented:
so if it works for one site, shouldn't it work for all?
Sorry I read it as a new server.
The message indicates it isn't registered or the IUSR account doesn't have permission to access it.
rivkamakAuthor Commented:
Where would I find the settings to adjust it?
The answer is to compare the configuration of the sites where it works versus the ones whee it does not.
These could be a variation such that the site were it works you have it configured as a 32bit
Versus this is trying to use the 64bit asp.

others pointed  out that you should use the appropriate versions.
One way or another eventually you will have to migrate to cdosys.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.