80020009 errors everywhere

M

Mark

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
 
T

Tom Kaminski [MVP]

Mark said:
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=80020009&type=ALL&category=0&numDays=0&order=2

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/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
 
M

Mark

thanks but this is the message i get.
Error Type:
(0x80020009)
/inc/inc_Include.asp, line 165


CODE
<<<<<<
Function FolderNameFix(FolderNAMEIN)
dim
FolderNameRetVal,folderNameLoopVal,folderNameLoopUbound,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
 
L

Larry Woods

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top