<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.