« Previous Next »

Thread: Classic ASP CDO.SYS has stopped working

Last post 10-06-2009 10:08 AM by ganeshanekar. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 10-06-2009, 7:03 AM

    • scimitar
    • Not Ranked
    • Joined on 10-06-2009, 10:51 AM
    • Posts 5

    Classic ASP CDO.SYS has stopped working

    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.

  • 10-06-2009, 9:34 AM In reply to

    Re: Classic ASP CDO.SYS has stopped working

    Try Re-registering CDOSYS.dll

    HTH.

    ~ Ganesh

  • 10-06-2009, 9:42 AM In reply to

    • scimitar
    • Not Ranked
    • Joined on 10-06-2009, 10:51 AM
    • Posts 5

    Re: Classic ASP CDO.SYS has stopped working

    Hi Ganesh,

    Thanks for your quick reply.

    How do I re-register cdosys.dll?

  • 10-06-2009, 9:52 AM In reply to

    Re: Classic ASP CDO.SYS has stopped working

    Open command prompt and go to c:\Windows\System32 folder then run following

    regsvr32 CDOSYS.dll

    Check if it fixes the problem.

    ~ Ganesh

  • 10-06-2009, 10:03 AM In reply to

    • scimitar
    • Not Ranked
    • Joined on 10-06-2009, 10:51 AM
    • Posts 5

    Re: Classic ASP CDO.SYS has stopped working

    Hi,

    Again, thanks for the quick reply.

    I tried that and got this error:

    The module "cdosys.dll" was loaded but the call to DllRegisterServer failed with error code 0x80020009

    Any ideas what this means?

    Thanks again.

  • 10-06-2009, 10:06 AM In reply to

    • scimitar
    • Not Ranked
    • Joined on 10-06-2009, 10:51 AM
    • Posts 5

    Re: Classic ASP CDO.SYS has stopped working

    Sorry, should have Googled that error before posting - I needed to run CMD as an administrator and now the dll has re-registered correctly.

    I'll now test and see if CDO.SYS is working again.

  • 10-06-2009, 10:07 AM In reply to

    Re: Classic ASP CDO.SYS has stopped working

    0x80020009 - it means some exception occurred.

    Can you try following:

    Run regsvr32 /u cdosys.dll

    Then regsvr32 /i cdosys.dll

    ~ Ganesh

  • 10-06-2009, 10:08 AM In reply to

    • scimitar
    • Not Ranked
    • Joined on 10-06-2009, 10:51 AM
    • Posts 5

    Re: Classic ASP CDO.SYS has stopped working

    Yippee - it now works.

    Thanks Ganesh :-)

  • 10-06-2009, 10:08 AM In reply to

    Re: Classic ASP CDO.SYS has stopped working

    Glad to help !!

Page 1 of 1 (9 items)
Microsoft Communities