Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am working in a classic ASP application and there is a page which uploads file on the server from the client machine. For files less than 6 mb it is working fine but whenever i am trying to upload a file of size>5 MB it is giving the below error.
Request object error ASP 0104 : 80004005 Operation not Allowed

What I have tried:

I have changed the Maximum allowed content length to 100000000(BYTES) and the Maximum URL length length (bytes) to 4096 From the IIS server manager.
I Have also looked into metabase.XML in c:\Windows\System32\Inetsrv folder but in metabase.xml I did not find any AspMaxRequestEntityAllowed element.
Moreover i do not have any permission to make changes in metabase.XML.
Please help how can i overcome through this problem.
Thanks in advance!!!!
Posted
Updated 9-May-16 19:28pm
v3
Comments
Kornfeld Eliyahu Peter 9-May-16 8:44am    
Check also AspMaxRequestEntityAllowed property...

1 solution

The issue got resolved by the following steps :
I went to IIS manager, selected website then under IIS selected ASP and then Limit properties and set 'maximum requesting Entity body limit 20000000 then clicked on Apply'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900