Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
I am using asp file upload in my project to upload images and videos. both works fine on local host but on server image upload works but while uploading video, when i upload video website continue loads for a long time after that stops working. size of video is not so big. i dont know why its happening.
plz reply..thanks..
Posted
Comments
DominicZA 5-Apr-12 6:12am    
Is the video greater than 4mb. That is the default max size limit on a FileUpload control.

Hi,
Create a share folder in your server, map that folder to your local machine from which u r accessing the application. Copy past the file to shared folder, then upload that file which is saved in share folder. this will resolve your problem
 
Share this answer
 
add
C#
<httpruntime maxrequestlength="2097151" enable="true" />

in web.config

Check my answer
 
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