Configurations

Be default ASP.NET doesn't allow you to upload files that are greater than 4MB in size. As most of video sizes are greater than 4MB. In order to upload videos that is greater in size than 4MB, you must increase the allowable filesize in application web.config file aas shown below.

If you have to know more about it, please contact us.

Increase file size limit in web.config file.

<httpRuntime
executionTimeout="110"
maxRequestLength="32768"
requestLengthDiskThreshold="80"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="5000"
enableKernelOutputCache="true"
enableVersionHeader="true"
requireRootedSaveAsPath="true"
enable="true"
shutdownTimeout="90"
delayNotificationTimeout="5"
waitChangeNotification="0"
maxWaitChangeNotification="0"
enableHeaderChecking="true"
sendCacheControlHeader="true"
apartmentThreading="false"
/>
Just copy and paste this code into your web application web.config file. There are a lot of parameters of httpRuntime, you can adjust it according to your own choice, the main important one is maxRequestLength which get value in bytes, so we set it on 32768 which is equal to 32MB, you must set this parameter in order to upload large file videos.
©2007 - 2008, MediaSoft Pro Inc  | Site Map