Forums
This topic is locked
Pure asp-upload error
02 Oct 2001 17:28:26 Boris Boy posted:
i nserted the upload behaviour into an update-page. When i load the page i get a message in my brwoser, which says, that there occured errors on the page.The detailed message says, that the error happened after the line of the following code:
'*** File Upload to: "../~upload", Extensions: "GIF,JPG,JPEG,BMP,PNG", Form: form1, Redirect: "", "path", "", "over", "false", "", "" , "300", "300", "", "", "600", "showProgress.htm", "300", "100"
Dim UploadQueryString, GP_uploadAction, UploadRequest
PureUploadSetup
If (CStr(Request.QueryString("GP_upload") <> "" Then
GP_redirectPage = ""
Server.ScriptTimeout = 600
RequestBin = Request.BinaryRead(Request.TotalBytes)
Set UploadRequest = CreateObject("Scripting.Dictionary"
BuildUploadRequest RequestBin, "../~upload", "path", "", "over"
If (GP_redirectPage <> "" Then
If (InStr(1, GP_redirectPage, "?", vbTextCompare) = 0 And UploadQueryString <> "" Then
GP_redirectPage = GP_redirectPage & "?" & UploadQueryString
End If
Response.Redirect(GP_redirectPage)
end if
end if
if UploadQueryString <> "" then
UploadQueryString = UploadQueryString & "&GP_upload=true"
else
UploadQueryString = "GP_upload=true"
end if
' End Pure Upload
then, when i gnore the error message and try to execute an update i get the following error message in german
Anforderungsobjekt-Fehler 'ASP 0208 : 80004005'
Allgemeine Anforderungssammlung kann nicht verwendet werden
/hedrich/admin/admin_produkte_aendern.asp, Zeile 89
Nach dem Aufruf von BinaryRead kann die allgemeine Anforderungssammlung nicht verwendet werden.
I try to translate the last sentence <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
After the call from binaryread the common requirementcompilation can not be used.
Can someone help me with this.
Thanks in advance
Boris Boy
Boris Boy
Replies
Replied 02 Oct 2001 18:23:29
02 Oct 2001 18:23:29 Boris Boy replied:
seems i found one of the errors. I also read the faq, which helped me a bit. Normally it seems, that the extensions updates all the request.form to uploadformrequest. But in my case, i had another form for deleting on this page. So in this form the extension didnt update the request.form command.
Thanks
Boris Boy
Thanks
Boris Boy