Dear Members:
I have been working in a small applications to upload files and I am having the following error message:
* Error Type:
Microsoft VBScript runtime (0x800A01FB)
An exception occurred: 'ProcessRequest'
/EAI_INTRANET/Techsupport/KnowledgeBase/KBUploadReceive.asp, line 116
* Browser Type:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040316
* Page:
POST 588075 bytes to /EAI_INTRANET/Techsupport/KnowledgeBase/KBUploadReceive.asp
* POST Data:
error '80020009'
Exception occurred.
/iisHelp/common/500-100.asp, line 223
The piece of code that it is refering to is:
Dim StringAux
Dim owNoOverwrite, owOverwrite, owUnique
Dim objUpload
Set objUpload = New Upload
' If we want to limit the size of uploads set the lMax value to the
' max amount of kb we want to load.
' 2048 = 2mb.
' For no limit set this to -1
objUpload.MaxUploadSize = -1
' If we want to limit the type of files to upload add the extensions of valid
' files to sExtensions as a comma separated list. If you don't want to
' limit the extensions simply make the variable blank ("")
objUpload.ValidExtensions = "zip,txt,jpg,gif,bmp,dwg,pdf,doc,dot,xls,ppt," '' in order to test this, try upload a .ini file for exmple.
' Define the overwrite constants
owNoOverwrite = 0 ' the upload will not overwrite an existing file of the same name
owOverwrite = 1 ' the upload will overwrite an existing file of the same name
owUnique = 2 ' if a file exists with the same name the uploaded file will be given a new, unique name
' Set the overwrite mode
objUpload.OverwriteMode = owUnique
' Set the path we want the files to be saved to. If this is not
' supplied it defaults to the directory that the page is in
' objUpload.Form(1) means the vnew_Resource and objUpload.Form(2) means the v_ID
'' StringAux="../UploadedFiles/"&objUpload.Form(2)&"s"
''response.write(StringAux)
objUpload.UploadPath = server.MapPath ("UploadedFiles/")
' Do the work
objUpload.ProcessRequest
The error line is the last one.
I have been seen some posts to this forum that the solution is to use an older service pack ( sp 3 ). Is that true ? Can someone out there help me? Does anyone know how to solve it?
:(
Thanks for any information you may supply...
Flávio de Souza
======================
[email protected]
ICQ: 78458203
======================