VB6 COM DLL on 64 bit Windows 7 [Answered]RSS

1 reply

Last post Mar 21, 2012 04:03 AM by Leo Tang - MSFT

  • VB6 COM DLL on 64 bit Windows 7

    Mar 15, 2012 06:38 AM|Sam Solomon|LINK

    Dear All,

    I have a machine that has 64 bit Windows 7. I am trying to run a classic asp site on this machine. I am using IIS 7.5. This classic asp site uses VB6 COM DLLS that are 32 bit. My COM DLLs are copied in C:\Windows\SysWOW64 and I have registered them using regsvr32 like this:

    C:\Windows\SysWOW64\regsvr32 ABC.dll.

    Now when i browse the site I get the following error:

    An unhandled exception('Class does not support Automation or does not support expected interface') occured in w3wp.exe.

    In the advance settings of my application pool that I use for my classic asp site, I have set Enable 32-bit applications =True. I would appreciate any help in solving this issue.



  • Re: VB6 COM DLL on 64 bit Windows 7

    Mar 21, 2012 04:03 AM|Leo Tang - MSFT|LINK


    Below is one of the possible cause

    "This error occurs because the user manually copied the DLL to a computer where the Visual Basic runtime library is not located"

    PRB: Error Message: Class Does Not Support Automation or Expected Interface


    Please mark the replies as answers if they help or unmark if not.
    Feedback to us