Ask a Question related to ASP Database, Design and Development.
-
bbxrider #1
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
-
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... -
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... -
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... -
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... -
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... -
Tammy B. #2
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...what> 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> 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
-
Bob Barrows #3
Re: global.asa error 'The object has an invalid ProgID...'
Tammy B. wrote:
Actually, the META tag is the better way to do it than by using adovbs.inc.> instead of that line,
>
> add the adovbs.inc file as an include file
>
> find it on google
>
See here:
[url]http://www.aspfaq.com/show.asp?id=2112[/url]
HTH,
Bob Barrows
Bob Barrows Guest
-
Mark Schupp #4
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...what> 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> 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
-
Aaron Bertrand - MVP #5
Re: global.asa error 'The object has an invalid ProgID...'
> here is the offending global.asa line 1
What is "web1"? What kind of object are you trying to store in application> <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'.
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
-
bbxrider #6
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...application>> > 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> 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
-
Aaron Bertrand - MVP #7
Re: global.asa error 'The object has an invalid ProgID...'
> web1 is the virtual website/website root directory, that is my
You don't do this in global.asa... you set an application through Internet> understanding of 'defining' the application
Services Manager (a GUI tool located on the machine).
This should be all you need, except you seem to be confused about whether> <!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
> Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
you want 2.1 or 2.5. Did you look at [url]http://www.aspfaq.com/2112[/url] ?
Aaron Bertrand - MVP Guest



Reply With Quote

