Improve company productivity with a Business Account.Sign Up

x
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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