• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

Pure ASP Upload not accepting PDFs

Hi,

I installed the Pure ASP File Upload from ASP 101 (http://www.asp101.com/articles/jacob/scriptupload.asp) and it works great. I seem to be able to upload just about any file format except PDFs. When I attempt an upload of PDF, I receive the following ASP error:

Request object error 'ASP 0104 : 80004005'

Operation not Allowed

/TonerSafety/upload.asp, line 46

Line 46 of the upload.asp file is:

biData = Request.BinaryRead(Request.TotalBytes)

Does anyone have any experience with this? Can you tell me if I will be able to upload PDFs using this code?

Thanks so much!

Tammi
0
okcuser
Asked:
okcuser
  • 3
  • 2
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
Operation Not Allowed usually means that the file you are uploading exceeds the maximum file size limit currently set in the IIS metabase. How you correct it depends on what version of IIS you are using.

IIS6:

    http://support.softartisans.com/kbview_900.aspx


If you are on IIS or below let us know and we can find the alternative fix.
0
 
okcuserAuthor Commented:
Hi Carl,

We are running version 6.0.

Thanks,

Tammi
0
 
Carl TawnSystems and Integration DeveloperCommented:
In that case the link in my last post gives instructions on how to change the relevant option in the MetaBase.
0
 
okcuserAuthor Commented:
I am attempting the fix now, but the only thing that gets me is that the PDFs that I tried to upload were very small files. Anyway, I will let you know what happens when I am finished with the fix.

Thanks again,

Tammi
0
 
okcuserAuthor Commented:
Wow! That did the trick! Thanks so much Carl! You're a lifesaver!

Tammi
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now