Solved

Pure ASP Upload not accepting PDFs

Posted on 2006-10-26
5
293 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now