This topic is locked

uploading pdf files via document uploader.asp

10/20/2005 10:08:31 PM
ASPRunnerPro General questions
A
apscnjohnnie author

I use the document uploader function to upload pdf files into the database into the upload file. Everything works fine the file is even uploaded but when you try to display the file (which normally launches the adobe viewer) for files that appear to be larger then 4 mb I get an error http 500 "Page cannot be displayed Internal server error.
the url is coming from ...download.asp?fieldname=file+name&where=+%5D%3D2063 My field name is file name so I recognize that. I did had to increase my script timeout since the files were large.
Like I say they upload fine but when you go to click on the link it displays this error. I have searched through the archives and tried querying it every which way but haven't found a solution outside of one for images which this is not and the script timeout issue which that did resolve an issue where the file to be uploaded was coming across the wan and took to long.
This issue is not bandwidth since the users are on the same 100 mb lan as the server that stores the uploads.
Thanks for any help.

A
apscnjohnnie author 10/27/2005

I would really like to know if there is a size limitation on file uploads in order to link them when using uploader.asp. I can upload files just fine and they show up in the upload folder but when you go to view the file in the view or list asp pages an error is displayed. Is this just a limitation or is there a edit that I need to make. I can't see why I would be prevented from viewing a file that I was uploading simply because it's size was larger then 4 mb.

A
apscnjohnnie author 3/31/2006

I actually found where in IIS to resolve this issue and I can't remember where that was now since it was so long ago. My problem now is in the upload process. I am uploading some files that are as large as 10 - 15 mbyte. ASPUploader does not have this problem with large file sizes that a developer who created a larger web asp accessible web page with the upload capability. Is there any tweaks I can make in asprunner to allow for a file of this size to upload?
Is this the script area under \includes\...aspfunctions.asp the area I need to concentrate. These are smaller databases I have created and I am not a developer who can figure out these things very easily, hence why I have chosen this excellent product which lives up to it's name as one of the easiest affodable converter of databse to web page programs.
Any help would be greatly appreciated.

Sergey Kornilov admin 4/3/2006

Hi,
I need to see text of error message.

To get it go to Tools/Internet options/Advanced in your browser, uncheck Show friendly HTTP error messages and refresh your page.