Forum Moderators: open

Message Too Old, No Replies

ASP with CDO.SYS error

         

scim1971

11:08 am on Oct 6, 2009 (gmt 0)

10+ Year Member



Hi,

This is a bit of an odd query and might relate to IIS7, Classic ASP, CDO.SYS or even Outlook 2007.

I have IIS7 set-up on my Vista Ultimate PC for locally testing websites we build. I also use it to run a classic ASP application that stores our customer information. Part of that system allows us to send emails to our clients (not a mass mailer - just one at a time) using CDO.SYS. This has been working fine for a couple of years and I've moved it from PC to PC as I've gone a long without any problems.

Yesterday I upgraded my MS Office (on the same PC) from Office XP to MS Office Professional 2007 which includes Outlook 2007. Now when I try and email from our ASP application using CDO.SYS I get this error:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'CDO.Message'
/crm/customer-newhistory.asp, line 105

(line 105 reads: Set ObjSendMail = CreateObject("CDO.Message")

I've tried Googling the error and various permatations but I don't know what to do to get it working again. I do have a copy of the application working on my Vista Business laptop (which doesn't have Outlook 2007 installed) so I guess I could copy and files needed from that machine if required.

I'd really appreciate any help anyone could give to try and resolve this.

Thanks in advance.

Ocean10000

1:49 pm on Oct 6, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Try reregistering it in the system. It might of been removed by the office install.

regsvr32 CDO.SYS

scim1971

2:11 pm on Oct 6, 2009 (gmt 0)

10+ Year Member



thanks, that did the trick - all working now