How to avoid response timeout of my webpage in ASP.NET? -
i'm importing large amount of data excel(100.000 rows etc), , necessary values excel(it took 1 minute approximately)
then loop within these records , database insert/update statements. approximately after 90 seconds response stops. page stops in background database goes on , insert/update jobs.
but can't give user feedback(your process complete or such) because response ended(timedout).
i try increase timeout in web.config:
<httpruntime maxrequestlength="10240" executiontimeout="36000"/>
also try increase executiontimeout specific page this:
<location path="homepage.aspx"> <!--excel import takes long--> <system.web> <httpruntime executiontimeout="360000" maxurllength="10000" maxquerystringlength="80000" maxrequestlength="10240" /> </system.web> </location>
they didnt work! suggestions?
protected void page_load(object sender, eventargs e) { scriptmanager.getcurrent(this.page).asyncpostbacktimeout = 6000;
i increased asyncpostbacktimeout 6000 , worked me. linkbutton(long process) in updatepanel
Comments
Post a Comment