Results 1 to 4 of 4

Thread: Cannot create DLL/ wrong ProgID

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    Cannot create DLL/ wrong ProgID

    I created an Active X DLL, that works very well in a VB6 form, but in ASP I am having a lot of trouble.

    <ASP code>
    Set objReference = server.CreateObject("GetBarData.class1")
    set objrst=GetPull(sqlstring)
    </code>

    <error>
    Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
    </error>

    If I remove the server. refrence, then I get:
    <error>
    Microsoft VBScript runtime (0x800A01AD)
    ActiveX component can't create object: 'GetBarData.class1'
    </error>
    I understand the second error, the dll is not registered on teh client, but the server.

    <sigh> There HAS to be an awnser to this....

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    Re: Cannot create DLL/ wrong ProgID

    Sheesh. Nothing guys?
    I am running this on Win2K server if that helps.

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Cannot create DLL/ wrong ProgID

    In a nutshell the program ID "GetBarData.class1" is not correct.... are you *sure* it's right?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    Re: Cannot create DLL/ wrong ProgID

    Yup. But, I get the dunce cap today...
    <ASP code>
    Set objReference = server.CreateObject("GetBarData.class1")
    set objrst=objReference.GetPull(sqlstring)
    </code>

    I didnt refrence the object. Sheesh....

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