Calling a .net component via a CCW in classic ASP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tristanpc
    New Member
    • Feb 2008
    • 2

    #1

    Calling a .net component via a CCW in classic ASP

    Hi,

    I've got to the Hello World stage of wrapping a .net component with a CCW and calling it from wscript.exe. By placing the .tlb and .dll in the same folder as wscript I get this to work (I realise I have to do GAC stuff to get it recognised when not in the same folder).

    My problem is calling my new component from classic ASP. I just can't get this to work. I don't get an ActiveX can't create object error but I do get an error 0x80070002, which appears to be a file not found type of error.

    Any hints anyone can give to get to Hello World when calling a CCW from classic ASP? Thanks in advance.

    TC
  • tristanpc
    New Member
    • Feb 2008
    • 2

    #2
    I put the component in the GAC and that fixed it. I love the fact that files can be simply dragged and dropped into the GAC!

    Comment

    Working...