Results 1 to 6 of 6

Thread: REGSVR32 ... Invalid ProgID

  1. #1

    Thread Starter
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342

    REGSVR32 ... Invalid ProgID

    I have a simple activex dll that is being used by a simple asp. I'm just trying to learn this stuff. When I run it in vb, it is working fine. I call it like this:

    Set objReference = _
    Server.CreateObject "ExampleProject.ExampleClass")

    This works fine.

    The problem is that when I save it as a dll (ExampleProject.dll), it doesn't work. I call it like this:

    Set objReference = Server.CreateObject("ExampleProject.dll")

    This is the error I get:
    Error Type:
    Server object, ASP 0177 (0x800401F3)
    Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
    /010730/ExampleProcess.asp, line 10

    From what I understand, this is the error that is given when the dll isn't registered. But, I did register it like this:
    REGSVR32 C:\Inetpub\wwwroot\010730\ExampleProject.dll

    When I run that, It says that the registering of the dll succeeded.

    Why the heck am I still getting the invalid progid error?????

    please help.

    thanks,
    Paul

  2. #2
    jim mcnamara
    Guest
    Did you compile with binary compatibility?

    If not, every time you compile your client & your dll, the client will look for a different program id.

    Also, you have to Regsvr32 /u <filename>

    - then register the new .dll after each time you re-compile.

  3. #3

    Thread Starter
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342
    How do you compile with binary comatibility? I'm very knew to dll stuff.

    thanks for the tip. I didn't know you need to unregister and re-register.

  4. #4
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Navivate to Project ----> Properties----->Component, then select your option.

  5. #5
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Also, you should really just be able to use project compatability until you are ready to distribute your component to the outside world. Just a little tip for ya..

  6. #6

    Thread Starter
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342
    bummer, still gives same invalid progid error... any other ideas??

    thanks for replies


    Paul

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