global.asa error 'The object has an invalid ProgID...'

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default global.asa error 'The object has an invalid ProgID...'

    win2k adv serv, iis5.0

    trying to activate ado constants etc, once in the global.asa file to be
    efficient about that with
    <!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
    Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
    but
    i've run into the progid problem, have searched many google groups for what
    the answer might be but so far nothing, can anybody help??
    my oreilly sez the progid is 'the object's programmatic identifier, as
    defined in the registry', but i don't know what that means

    here is the offending global.asa line 1
    <object runat=server scope=application id=web1 progid="web1">
    </object>

    this is the error
    Active Server Pages error 'ASP 0134'

    Invalid ProgID attribute

    //global.asa, line 1

    The object has an invalid ProgID of 'web1'.


    bbxrider Guest

  2. Similar Questions and Discussions

    1. Invalid ProgID
      Are you sure you've got the syntax correct? It's usually: set oObj = server.createobject("component.class") "Craig" <donti@know.you> wrote in...
    2. Invalid ProgID -- what to check?
      Hello all, Copying code from one server to another, I'm now getting a 0177 error -- invalid ProgID -- when I try to instantiate a component...
    3. Error: object invalid or no longer set
      I have a subform within a form, and anytime I place a breakpoint within my coding, when it stops it gives me two error messages: 1. This...
    4. Invalid ProgID of 'MSWC.MyInfo' in global.asa
      Hello, I am getting the error below when I bring up the first page of my site. Error Type: Active Server Pages, ASP 0134 (0x80004005) The...
    5. MSWC.MyInfo invalid ProgID
      I have just installed XP Pro. I did so specifically so that I could use the IIS installable components (MSWC). When I bring up the first page for...
  3. #2

    Default Re: global.asa error 'The object has an invalid ProgID...'

    instead of that line,

    add the adovbs.inc file as an include file

    find it on google

    "bbxrider" <bbxrider1@comcast.net> wrote in message
    news:%23KEGGW1TDHA.2260@TK2MSFTNGP12.phx.gbl...
    > win2k adv serv, iis5.0
    >
    > trying to activate ado constants etc, once in the global.asa file to be
    > efficient about that with
    > <!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
    > Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
    > but
    > i've run into the progid problem, have searched many google groups for
    what
    > the answer might be but so far nothing, can anybody help??
    > my oreilly sez the progid is 'the object's programmatic identifier, as
    > defined in the registry', but i don't know what that means
    >
    > here is the offending global.asa line 1
    > <object runat=server scope=application id=web1 progid="web1">
    > </object>
    >
    > this is the error
    > Active Server Pages error 'ASP 0134'
    >
    > Invalid ProgID attribute
    >
    > //global.asa, line 1
    >
    > The object has an invalid ProgID of 'web1'.
    >
    >

    Tammy B. Guest

  4. #3

    Default Re: global.asa error 'The object has an invalid ProgID...'

    Tammy B. wrote:
    > instead of that line,
    >
    > add the adovbs.inc file as an include file
    >
    > find it on google
    >
    Actually, the META tag is the better way to do it than by using adovbs.inc.
    See here:
    [url]http://www.aspfaq.com/show.asp?id=2112[/url]

    HTH,
    Bob Barrows


    Bob Barrows Guest

  5. #4

    Default Re: global.asa error 'The object has an invalid ProgID...'

    a progid typically has 2 parts. the activex server name and the object name.
    as in "adodb.connection". you need to determine the correct progid for the
    object you are trying to instantiate.

    --
    Mark Schupp
    --
    Head of Development
    Integrity eLearning
    Online Learning Solutions Provider
    [email]mschupp@ielearning.com[/email]
    [url]http://www.ielearning.com[/url]
    714.637.9480 x17


    "bbxrider" <bbxrider1@comcast.net> wrote in message
    news:%23KEGGW1TDHA.2260@TK2MSFTNGP12.phx.gbl...
    > win2k adv serv, iis5.0
    >
    > trying to activate ado constants etc, once in the global.asa file to be
    > efficient about that with
    > <!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
    > Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
    > but
    > i've run into the progid problem, have searched many google groups for
    what
    > the answer might be but so far nothing, can anybody help??
    > my oreilly sez the progid is 'the object's programmatic identifier, as
    > defined in the registry', but i don't know what that means
    >
    > here is the offending global.asa line 1
    > <object runat=server scope=application id=web1 progid="web1">
    > </object>
    >
    > this is the error
    > Active Server Pages error 'ASP 0134'
    >
    > Invalid ProgID attribute
    >
    > //global.asa, line 1
    >
    > The object has an invalid ProgID of 'web1'.
    >
    >

    Mark Schupp Guest

  6. #5

    Default Re: global.asa error 'The object has an invalid ProgID...'

    > here is the offending global.asa line 1
    > <object runat=server scope=application id=web1 progid="web1">
    > </object>
    >
    > this is the error
    > Active Server Pages error 'ASP 0134'
    >
    > Invalid ProgID attribute
    >
    > //global.asa, line 1
    >
    > The object has an invalid ProgID of 'web1'.
    What is "web1"? What kind of object are you trying to store in application
    scope? [url]http://www.aspfaq.com/2053[/url]

    This is where the error message is coming from, it has nothing to do with
    the metadata tag.


    Aaron Bertrand - MVP Guest

  7. #6

    Default Re: global.asa error 'The object has an invalid ProgID...'

    web1 is the virtual website/website root directory, that is my
    understanding of 'defining' the application

    i'm trying to invoke/instantiate (not sure of correct terminoloy) the meta
    data for ado only once, so i can have access to at least the constants, if
    not more and won't be doing that for each asp file, the meta data is:

    <!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
    Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->

    since this is my first global.asa, now i realize i'm sure where the meta
    data goes? within the object tags or the application_onstart subroutine

    "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
    news:eTD2Tf7TDHA.2512@TK2MSFTNGP10.phx.gbl...
    > > here is the offending global.asa line 1
    > > <object runat=server scope=application id=web1 progid="web1">
    > > </object>
    > >
    > > this is the error
    > > Active Server Pages error 'ASP 0134'
    > >
    > > Invalid ProgID attribute
    > >
    > > //global.asa, line 1
    > >
    > > The object has an invalid ProgID of 'web1'.
    >
    > What is "web1"? What kind of object are you trying to store in
    application
    > scope? [url]http://www.aspfaq.com/2053[/url]
    >
    > This is where the error message is coming from, it has nothing to do with
    > the metadata tag.
    >
    >

    bbxrider Guest

  8. #7

    Default Re: global.asa error 'The object has an invalid ProgID...'

    > web1 is the virtual website/website root directory, that is my
    > understanding of 'defining' the application
    You don't do this in global.asa... you set an application through Internet
    Services Manager (a GUI tool located on the machine).
    > <!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
    > Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
    This should be all you need, except you seem to be confused about whether
    you want 2.1 or 2.5. Did you look at [url]http://www.aspfaq.com/2112[/url] ?


    Aaron Bertrand - MVP Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139