?
Solved

Pure ASP Upload not accepting PDFs

Posted on 2006-10-26
5
Medium Priority
?
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

752 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