<system.web> <httpRuntime maxRequestLength="102400" executionTimeout="360"/> </system.web>
This is what you are looking for. Change the executionTimeout property in the web.config file.
According to this website ,
maxRequestLength - file size attribute limits for an ASP.NET expression. This limit can be used to prevent denial of service (DOS) attacks caused by users placing large files on the server. Size is in kilobytes. As mentioned earlier, the default is "4096" (4 MB). The maximum value is "1048576" (1 GB) for the .NET Framework 1.0 / 1.1 and "2097151" (2 GB) for the .NET Framework 2.0.
executeTimeout - indicates the attribute the maximum number of seconds during which the request is allowed to execute expression is automatically disabled. The execution of the Timeout value should always be greater than the amount of time during which the loading process may take.
source share