c# - ajax timeout problem -
I have a long process in AJAX which adds to the problem I Its workings in the local host are great, but when I check it on the server, there is still some problem in it Any advice? Thank you You may need to increase the Take a look at MSDN, it tells the difference between debug = True / False and it is probably causing the difference between localhost and production. Execution Timeout Optional Int32 attribute. ASP.Net specifies the number of seconds allowed for a maximum request before shutting down automatically. This time-out only applies if the contents of the debug feature are incorrect in the compilation element. If the debug feature is true, then you do help to avoid the shutdown application while debugging, do not set it from time to time at a large value. The default is 110 seconds. Add asyncpostbacktimeout = 600 script manager
& lt; Asp: ScriptManager AsyncPostBackTimeOut = "600" runat = "server" id = "SMPs" enablePages = "true" />
executionTimeout in web.config or request an increase Time itself is ending.
executionTimeout to
configuration / system.web / httpRuntime in
Web.Config and let me know This works:
& lt; Configuration & gt; & Lt; System.web & gt; & Lt; HttpRuntime executionTimeout = "600" /> & Lt; /system.web> & Lt; / Configuration & gt;
Comments
Post a Comment