i wanna fetch data aprox 800000 in excel through asp.net framework bt after its give time out exception
exception:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 28, 2015, 11:48 PM EDT
1. A ConnectionString has a ConnectionTimeout property. It is a property which determines the maximum number of seconds your code will wait for a connection of the database to be open. You can set connection timeout in connection string section in web.config.
connectionstrings> add name="ConnectionString" connectionstring="Database=UKTST1;Server=BRESAWN;uid=" system.data.sqlclient="/> hold=" /> html="> server=" AsyncPostBackTimeOut=" 6000=">>/add>/connectionstrings>2. You can put AsyncPostBackTimeout="6000" in .aspx page
3. You can set timeout in sqlcommand where you are calling storeprocedure in .cs file.
Rajeesh MenothRank #118 · 18.4K reputationPosted Jul 28, 2015, 11:10 PM EDT
akash singh119 reputationPosted Jul 29, 2015, 2:35 AM EDT
akash singh119 reputationPosted Jul 29, 2015, 2:35 AM EDT