locked
Autmation Error after registering .NET dll RRS feed

  • Question

  • I am testing registering a .NET com dll. 

    I build the .dll, test it with the VB6 app, works OK. 

    I unregister the .dll, move it & .tlb to the same folder as the VB6 app, check the registry to make certain it unregistered completely. I regasm the .dll, test it with the VB6 app and get "Automation error", "The system cannot find the file specified."

    I also get this error if I unregister and regasm without moving the files.  If I rebuild the error goes away.  What am I missing?

    Friday, October 6, 2006 8:19 PM

Answers

  • Did you regasm with /codebase?
    Friday, October 6, 2006 8:49 PM
    Moderator

All replies

  • Did you regasm with /codebase?
    Friday, October 6, 2006 8:49 PM
    Moderator
  • No I did not.  That fixed the error. 

    Nowhere in the documentation did I see that that option was necessary for deployment.

    Thanks.

    Tuesday, October 10, 2006 2:58 PM