Results 1 to 1 of 1

Thread: Need Help with Com Object CLSID not valid or not registered

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    9

    Exclamation Need Help with Com Object CLSID not valid or not registered

    Here is my problem:
    After I install the application I am developing using the setup files generated by the .NET 2003 setup project, I receive this error:

    "COM object with CLSID {4ACA7212-15B7-4D3A-8CC1-E9D38A416BE8} is either not valid or not registered."

    The stack trace is as follows:

    at WebSupergoo.ImageGlue5.Canvas..ctor()
    at Layout_Managers_VB.ICM.CONVERSYS.GRAPHICS.ImageManager..ctor()
    at Layout_Managers_VB.Common.Init_ApplicationComponents()

    Based on the stack trace I can determine it is a problem with the Web Super Goo .DLL called WebSupergoo.ImageGlue5.dll that I am referencing in my solution.

    I am utilizing ImageGlue.NET within my app and there should be a way to use their DLL's without the machine having had ran and installed the Image Glue .NET application.

    When I install ImageGlue.NET, it will register their DLL's in the GAC. Their corresponding bin directory contains the DLL's which is the source directory from which I add the reference to my solution.

    These DLL's then become dependant DLL's within the corresponding Setup project. Upon a build, currently the copy local property is set to true on these DLL's so that they are copied to my projetcs bin directory; although I've tried both with copy local as false and true. Not sure if this is relevant.

    Anyway, the problem I have is if I give the setup files to another machine that does not have ImageGlue.NET installed, and thus does not have the DLL's registered in the GAC, run the setup exe and then run the app, I get the above error. The DLL's get copied over to the project's working directory, however.

    The only difference I see is on my machine I have the DLL's in the GAC and thus the app works.

    I guess my question is, how do I get my application to look into the working directory for these DLL's as opposed to the directory I referenced them from or the GAC?

    Or how can I have my setup project register the DLL's in the GAC upon installation? I have tried setting the register property of the 2 DLL's in question to vsdraCOM, but after an install I did not see them in the GAC.

    Now this ImageGlue.NET app requires that you give it a licence key in order for it to be useable. I install Image Glue.NET on my machine, give it the license key so that the DLL's are valid and useable then reference the DLL's from the ProgramFiles\WebSuperGoo\ImageGlue.NET\bin directory.

    I also tried installing my application onto a machine that had ImageGlue.Net already installed thus it already had the DLL's in the GAC.

    When starting my app, I get the above error.

    After reinstalling ImageGlue.NET, my app works fine.

    Any help, advice or guidance will be greatly appreciated.

    Thanks a lot.

    Matt.
    Last edited by kicks_joy_darkness; Jun 1st, 2006 at 11:41 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width