Pure ASP Upload 3 Support Product Page

This topic was archived

HTTP:500

Reported 13 Jul 2006 17:01:03
1
has this problem
13 Jul 2006 17:01:03 Paul Kramer posted:
Using DMX 2004, ASP Upload 3.03 Flash Multi upload, if I set my redirect link to anything that passes a parameter I get the following errors:

DSCN5245.JPG (HTTP Error:500)
DSCN5246.JPG (HTTP Error:500)
DSCN5247.JPG (HTTP Error:500)

and it say upload failed, even though the images are in the upload dir and appear corrctly uploaded.

But if my redirect after upload is set to just a page (no parameters passed) then it works fine and no errors are displayed.

Ex. from code view:

This produces the error above: pau.RedirectUrl = "prop_detail.asp?ID=" & Request.QueryString("PropID" & ""

This works properly: pau.RedirectUrl = "prop_detail.asp"

but of course the latter doesn't work with my site as I am trying to redirect back to the correct detail page.

I need some help with this asap.

Thanks
Paul

P.s IIS log below:

127.0.0.1, -, 7/13/2006, 8:56:58, W3SVC1, IT002OLD, 127.0.0.1, 328, 396, 0, 200, 0, GET, /houston/TMPckkhi2chex.asp, id=97,
127.0.0.1, -, 7/13/2006, 8:57:00, W3SVC1, IT002OLD, 127.0.0.1, 31, 441, 0, 200, 0, GET, /houston/prop_update.asp, ID=97,
127.0.0.1, -, 7/13/2006, 8:57:03, W3SVC1, IT002OLD, 127.0.0.1, 62, 498, 0, 200, 0, GET, /houston/add_pic.asp, propid=97,
127.0.0.1, -, 7/13/2006, 8:57:10, W3SVC1, IT002OLD, 127.0.0.1, 16, 451, 3236, 200, 0, GET, /houston/mac_look.htm, UploadId=847860499,
127.0.0.1, -, 7/13/2006, 8:57:10, W3SVC1, IT002OLD, 127.0.0.1, 63, 1388, 0, 200, 0, GET, /houston/ScriptLibrary/PU3Progress.asp, UploadId=847860499&Reset=true&url=%2Fhouston%2Fadd%5Fpic%2Easp%3Fpropid%3D97%26GP%5Fupload%3Dtrue%26UploadId%3D847860499%26MM%5Finsert%3DFlashUpload&id=847860499&t=mac%5Flook%2Ehtm%3FUploadId%3D847860499&w=400&h=100&allowedExtensions=GIF%2CJPG%2CJPEG%2CBMP%2CPNG&maxFileSize=2048000&langUrl=ScriptLibrary%2Flocalization%2FPureUpload3%5Fen%2Exml&progressUrl=ScriptLibrary%2FPU3Progress%2Easp%3FUploadId%3D847860499&redirectUrl=prop%5Fdetail%2Easp%3FID%3D97&queueChanged=%5Btype+Function%5D&updateProgress=%5Btype+Function%5D&fileUploadCompleted=%5Btype+Function%5D&allUploadsCompleted=%5Btype+Function%5D&errorsLoaded=%5Btype+Function%5D&alertHandler=%5Btype+Function%5D&prepareUpload=%5Btype+Function%5D&startUpload=%5Btype+Function%5D&errorHandler=%5Btype+Function%5D&translationLoaded=%5Btype+Function%5D&updateStage=%5Btype+Function%5D&fu=%5Bobject+Object%5D&lc=%5Bobject+Object%5D&totalBytes=1229182&uploadedBytes=0&filesUploaded=0,
127.0.0.1, -, 7/13/2006, 8:57:10, W3SVC1, IT002OLD, 127.0.0.1, 0, 501, 112, 200, 0, POST, /houston/add_pic.asp, propid=97&GP_upload=true&UploadId=847860499&MM_insert=FlashUpload,
127.0.0.1, -, 7/13/2006, 8:57:12, W3SVC1, IT002OLD, 127.0.0.1, 578, 435016, 112, 500, 0, POST, /houston/add_pic.asp, propid=97&GP_upload=true&UploadId=847860499&MM_insert=FlashUpload|20|ASP_0208_:_80004005|Cannot_use_generic_Request_collection|223|80020009|Exception_occurred.__,
127.0.0.1, -, 7/13/2006, 8:57:12, W3SVC1, IT002OLD, 127.0.0.1, 0, 501, 112, 200, 0, POST, /houston/add_pic.asp, propid=97&GP_upload=true&UploadId=847860499&MM_insert=FlashUpload,
127.0.0.1, -, 7/13/2006, 8:57:12, W3SVC1, IT002OLD, 127.0.0.1, 547, 414077, 112, 500, 0, POST, /houston/add_pic.asp, propid=97&GP_upload=true&UploadId=847860499&MM_insert=FlashUpload|20|ASP_0208_:_80004005|Cannot_use_generic_Request_collection|223|80020009|Exception_occurred.__,
127.0.0.1, -, 7/13/2006, 8:57:12, W3SVC1, IT002OLD, 127.0.0.1, 16, 501, 112, 200, 0, POST, /houston/add_pic.asp, propid=97&GP_upload=true&UploadId=847860499&MM_insert=FlashUpload,
127.0.0.1, -, 7/13/2006, 8:57:13, W3SVC1, IT002OLD, 127.0.0.1, 500, 382861, 112, 500, 0, POST, /houston/add_pic.asp, propid=97&GP_upload=true&UploadId=847860499&MM_insert=FlashUpload|20|ASP_0208_:_80004005|Cannot_use_generic_Request_collection|223|80020009|Exception_occurred.__,
127.0.0.1, -, 7/13/2006, 8:57:13, W3SVC1, IT002OLD, 127.0.0.1, 15, 471, 0, 200, 0, GET, /houston/ScriptLibrary/PU3Progress.asp, UploadId=847860499,



Edited by - tootall on 13 Jul 2006 17:13:24

Replies

Replied 13 Jul 2006 17:42:13
13 Jul 2006 17:42:13 Paul Kramer replied:
Ok after more experimentation, I think I figured it out. You can not use a generic request variable in the parameter for redirection,
it has to be either Request.Form("" or Request.QueryString("" it can't be just Request(""

Hope this helps some others that I see are having this same error.

Thanks
Paul
Replied 17 Jul 2006 15:21:37
17 Jul 2006 15:21:37 Patrick Woldberg replied:
You can't use Request or Request.Form in your ASP when using Pure ASP Upload 3 on the same page, you have to replace these requests with UploadFormRequest. Check your file add_pic.asp if these do not exist.

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------

Reply to this topic