Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

I want to upload more than 5mb video file to webserver. I follow google suggestions but it's no more faster and not uploading more than 5 mb file.I want to save customers review video file to db. If It is more than 100MB I am getting the issue"file access denied".
So Plz suggest me.
Posted
Updated 1-Dec-15 20:17pm
v5
Comments
ZurdoDev 26-Nov-15 11:19am    
You have to change a web.config setting to allow bigger uploads.
Richard Deeming 27-Nov-15 8:34am    
An "access denied" error doesn't sound like a problem with the size of the uploaded file.

What's the exact error message?

1 solution

set web config file maxRequestLength and
executionTimeout to give it a value that supports 1 GB data depending on your bandwidth.


C#
<httpruntime maxrequestlength="1097152" executiontimeout="18000" />
 
Share this answer
 
v2
Comments
Member 10229339 30-Nov-15 0:22am    
I tried it with <httpruntime maxrequestlength="2147483647" executiontimeout="360000">. Eventhough it's not uploading the video.
Anil Sharma1983 30-Nov-15 1:33am    
upload small video file(less then 5mb).check its uploaded or not. then we know the exact error

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