Solved

Pure ASP Upload not accepting PDFs

Posted on 2006-10-26
5
299 Views
Last Modified: 2008-02-01
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
Comment
Question by:okcuser
  • 3
  • 2
5 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 17812981
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
 

Author Comment

by:okcuser
ID: 17813478
Hi Carl,

We are running version 6.0.

Thanks,

Tammi
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 17813511
In that case the link in my last post gives instructions on how to change the relevant option in the MetaBase.
0
 

Author Comment

by:okcuser
ID: 17813530
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
 

Author Comment

by:okcuser
ID: 17813703
Wow! That did the trick! Thanks so much Carl! You're a lifesaver!

Tammi
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Update table value with join syntax 2 76
PDF Embed pdfobject.js local path problem regular ASP 2 173
is this a cms? 8 65
Adjust an existing ASP Query 45 15
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question