In IIS, you can increase timeout to give application more time to load resources.
Open Internet Information Services (IIS) Manager.
Expand the local computer node, expand Web Sites, right-click the appropriate Web site, point to Manage Web Site, click Advanced Settings.
In the Advanced Settings window, expand Connection Limits, change the value in the Connection time-out field, and then click OK.
Open IIS.
On the left side, select"Application Pools"
On the right side,right-click this application pool and select Advanced Settings.
In the advanced settings, increase "Idle Time-out (minutes)".
Add this in web.config
<system.web>
<httpRuntime executionTimeout="180" />
</system.web>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…