When we do Web server-side development, often encounter a demand scenario, because some time-consuming processing caused the page response processing time is very long, the technical point of view is whether to give the page processing program a
Set Server. ScriptTimeOut executionTimeout for ASP. NET page request timeout,ASP. NET page request timeout (page background program execution time) The default value is 110 seconds (In. NET Framework 1.0 and 1.1, the default value is 90
ASP. NET page Request time-out (page daemon execution time) The default value is 110 seconds ( 90 seconds for the default value in version 1.0 and 1.1 that is: server.scripttimeout =(httpserverutility.scripttimeout =)
Connectiontimeout
Obtain the time that is waiting before the connection is terminated and an error is generated.The wait time (in seconds) for the connection to open ). The default value is 15 seconds.
connect timeout or keywords in the
The first method, mainly for the IIS6.0 versionFirst, modify the HttpRuntime node in the configuration Web. config fileFor ASP., the default is to allow only 4M files to be uploaded, and the maximum file size can typically be customized by adding
ASP. NET sets the size of the upload file in web.config
To modify the Webcong file:Usefullyqualifiedredirecturl= "true"executiontimeout= "6000"Usefullyqualifiedredirecturl= "false"Minfreethreads= "8"Minlocalrequestfreethreads=
We thought the file size limitWe all know that ASP. NET provides us with the file Upload server control FileUpload, the largest file that can be uploaded by default is 4M, if you want to change the size limit of the uploaded file, we can add the
asp.net
page Request Timeout (page daemon execution time) default value is 110 seconds (In the. NET Framework versions 1.0 and 1.1, the default value is 90 seconds)
That
server.scripttimeout =(httpserverutility.scripttimeout = 110)
You will encounter more than one timeout (or timeout) error when using SharePoint. If you encounter a timeout, how do you differentiate it?In general, SharePoint can control and influence the timeout place as follows:1. The default size limit for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.