Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > 80020009 errors everywhere

Reply
Thread Tools

80020009 errors everywhere

 
 
Mark
Guest
Posts: n/a
 
      07-12-2004
All across my site i am getting 0x80020009 errors every so often.
they point to lines of code like
where FolderNAMEIN is a string such as "Botswana" and the
VarFolderNameLength is 150


if len(FolderNAMEIN) > VarFolderNameLength then


and

RS("Company") where Company is a valid field in the database.

Anyone with an idea of what is going on would be very much appreciated.

-Mark


 
Reply With Quote
 
 
 
 
Tom Kaminski [MVP]
Guest
Posts: n/a
 
      07-12-2004
"Mark" <no-mkg6071-> wrote in message
news:...
> All across my site i am getting 0x80020009 errors every so often.
> they point to lines of code like
> where FolderNAMEIN is a string such as "Botswana" and the
> VarFolderNameLength is 150
>
>
> if len(FolderNAMEIN) > VarFolderNameLength then
>
>
> and
>
> RS("Company") where Company is a valid field in the database.
>
> Anyone with an idea of what is going on would be very much appreciated.


Start here ...
http://www.aspfaq.com/search.asp?q=8...Days=0&order=2

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      07-12-2004
Without more details, it's hard to suggest things. Try starting here
though:
http://www.aspfaq.com/show.asp?id=2421

Also, it wouldn't hurt to use rs.Fields.Item("Company").Value if you want to
retreive a value from your recordset.

Ray at work

"Mark" <no-mkg6071-> wrote in message
news:...
> All across my site i am getting 0x80020009 errors every so often.
> they point to lines of code like
> where FolderNAMEIN is a string such as "Botswana" and the
> VarFolderNameLength is 150
>
>
> if len(FolderNAMEIN) > VarFolderNameLength then
>
>
> and
>
> RS("Company") where Company is a valid field in the database.
>
> Anyone with an idea of what is going on would be very much appreciated.
>
> -Mark
>
>



 
Reply With Quote
 
Mark
Guest
Posts: n/a
 
      07-12-2004
thanks but this is the message i get.
Error Type:
(0x80020009)
/inc/inc_Include.asp, line 165


CODE
<<<<<<
Function FolderNameFix(FolderNAMEIN)
dim
FolderNameRetVal,folderNameLoopVal,folderNameLoopU bound,VarFolderNameLength
dim LetterInQuestion
FolderNameRetVal = ""
VarFolderNameLength = 150
if len(FolderNAMEIN) > VarFolderNameLength then
<<< LINE 165
folderNameLoopUbound = VarFolderNameLength
else
folderNameLoopUbound = len(FolderNAMEIN)
end if

there is no additional words...like an object required error or anything
like that
this is in an otherwise tame peice of code

-Mark


"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:ccur6l$...
> "Mark" <no-mkg6071-> wrote in message
> news:...
> > All across my site i am getting 0x80020009 errors every so often.
> > they point to lines of code like
> > where FolderNAMEIN is a string such as "Botswana" and the
> > VarFolderNameLength is 150
> >
> >
> > if len(FolderNAMEIN) > VarFolderNameLength then
> >
> >
> > and
> >
> > RS("Company") where Company is a valid field in the database.
> >
> > Anyone with an idea of what is going on would be very much appreciated.

>
> Start here ...
>

http://www.aspfaq.com/search.asp?q=8...Days=0&order=2
>
> --
> Tom Kaminski IIS MVP
> http://www.microsoft.com/windowsserv...y/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iisfaq.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running

IIS
> http://www.tryiis.com
>
>



 
Reply With Quote
 
Larry Woods
Guest
Posts: n/a
 
      07-12-2004
Mark,

I believe that an Error code 9 is a subscript error. I notice that you are
using the word "Ubound" as part of a variable name. Possible change that.
Also, I have gotten this error if I am calling a function that is not
defined since VBScript views "xxx(abc)" as an array if "xxx" is not defined
as a function.

FWIW,

Larry Woods

"Mark" <no-mkg6071-> wrote in message
news:%...
> thanks but this is the message i get.
> Error Type:
> (0x80020009)
> /inc/inc_Include.asp, line 165
>
>
> CODE
> <<<<<<
> Function FolderNameFix(FolderNAMEIN)
> dim
>

FolderNameRetVal,folderNameLoopVal,folderNameLoopU bound,VarFolderNameLength
> dim LetterInQuestion
> FolderNameRetVal = ""
> VarFolderNameLength = 150
> if len(FolderNAMEIN) > VarFolderNameLength then
> <<< LINE 165
> folderNameLoopUbound = VarFolderNameLength
> else
> folderNameLoopUbound = len(FolderNAMEIN)
> end if
>
> there is no additional words...like an object required error or anything
> like that
> this is in an otherwise tame peice of code
>
> -Mark
>
>
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> news:ccur6l$...
> > "Mark" <no-mkg6071-> wrote in message
> > news:...
> > > All across my site i am getting 0x80020009 errors every so often.
> > > they point to lines of code like
> > > where FolderNAMEIN is a string such as "Botswana" and the
> > > VarFolderNameLength is 150
> > >
> > >
> > > if len(FolderNAMEIN) > VarFolderNameLength then
> > >
> > >
> > > and
> > >
> > > RS("Company") where Company is a valid field in the database.
> > >
> > > Anyone with an idea of what is going on would be very much

appreciated.
> >
> > Start here ...
> >

>

http://www.aspfaq.com/search.asp?q=8...Days=0&order=2
> >
> > --
> > Tom Kaminski IIS MVP
> > http://www.microsoft.com/windowsserv...y/centers/iis/
> > http://mvp.support.microsoft.com/
> > http://www.iisfaq.com/
> > http://www.iistoolshed.com/ - tools, scripts, and utilities for running

> IIS
> > http://www.tryiis.com
> >
> >

>
>



 
Reply With Quote
 
Mark
Guest
Posts: n/a
 
      07-13-2004
it apparently was an unchecked EOF in the page that called the function
below.


"Larry Woods" <> wrote in message
news:%...
> Mark,
>
> I believe that an Error code 9 is a subscript error. I notice that you

are
> using the word "Ubound" as part of a variable name. Possible change that.
> Also, I have gotten this error if I am calling a function that is not
> defined since VBScript views "xxx(abc)" as an array if "xxx" is not

defined
> as a function.
>
> FWIW,
>
> Larry Woods
>
> "Mark" <no-mkg6071-> wrote in message
> news:%...
> > thanks but this is the message i get.
> > Error Type:
> > (0x80020009)
> > /inc/inc_Include.asp, line 165
> >
> >
> > CODE
> > <<<<<<
> > Function FolderNameFix(FolderNAMEIN)
> > dim
> >

>

FolderNameRetVal,folderNameLoopVal,folderNameLoopU bound,VarFolderNameLength
> > dim LetterInQuestion
> > FolderNameRetVal = ""
> > VarFolderNameLength = 150
> > if len(FolderNAMEIN) > VarFolderNameLength then
> > <<< LINE 165
> > folderNameLoopUbound = VarFolderNameLength
> > else
> > folderNameLoopUbound = len(FolderNAMEIN)
> > end if
> >
> > there is no additional words...like an object required error or anything
> > like that
> > this is in an otherwise tame peice of code
> >
> > -Mark
> >
> >
> > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> > news:ccur6l$...
> > > "Mark" <no-mkg6071-> wrote in message
> > > news:...
> > > > All across my site i am getting 0x80020009 errors every so often.
> > > > they point to lines of code like
> > > > where FolderNAMEIN is a string such as "Botswana" and the
> > > > VarFolderNameLength is 150
> > > >
> > > >
> > > > if len(FolderNAMEIN) > VarFolderNameLength then
> > > >
> > > >
> > > > and
> > > >
> > > > RS("Company") where Company is a valid field in the database.
> > > >
> > > > Anyone with an idea of what is going on would be very much

> appreciated.
> > >
> > > Start here ...
> > >

> >

>

http://www.aspfaq.com/search.asp?q=8...Days=0&order=2
> > >
> > > --
> > > Tom Kaminski IIS MVP
> > > http://www.microsoft.com/windowsserv...y/centers/iis/
> > > http://mvp.support.microsoft.com/
> > > http://www.iisfaq.com/
> > > http://www.iistoolshed.com/ - tools, scripts, and utilities for

running
> > IIS
> > > http://www.tryiis.com
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADSI 80020009 Error on windows 2003 M Naeem Baig ASP General 0 06-14-2004 12:43 PM
error '80020009' Exception occurred psaban ASP General 0 06-10-2004 03:35 PM
exception '80020009' Marco ASP General 1 02-14-2004 02:03 PM
80020009 -- ready for a tough one? middletree ASP General 4 01-09-2004 11:12 PM
ADODB.Field error '80020009 olivier Micheli ASP General 0 08-15-2003 07:43 AM



Advertisments
 



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