This one had me stumped for a while.
Prequisites
Windows 2008 64bit
IIS 7
ASP Site using cdosys
Trying to send with CDOSYS in ASP or ASP .NET and the following kept appearing:
File name or class name not found during Automation operation
Turns out that this is related to the 32bit version of cdosys.dll not being registered within the syswow64 folder!
regsvr32 C:\windows\syswow64\cdosys.dll
Hope this helps people out there 🙂
James