Sometimes we use SharePoint application pages or web parts to perform heavy operations those take long time than usual. In that case we have to explicitly increase the timeout periods using the Web.Config file.
Recently I came across a similar situation where an application page is used to create site collections using custom definitions.To resolve the error I modified the Web.Config file of the relevant web application and provided following values.
- <httpRuntime maxRequestLength="2097152" executionTimeout="1500" requestLengthDiskThreshold="8192" shutdownTimeout="108000" />
Unfortunately that remedy didn’t work.
After few hours of struggling it occurred to me that I was modifying the wrong Web.Config file. Since my page is located in Layouts folder, the page is not directly bound to a specific web application. For these kind of situations we are provided with a different Web.Config file, which is located under the Layouts folder.
I had to do following modification to increase the timeout period under system.web section
- <httpRuntime executionTimeout="1500" />
That fixed my issue.
13 comments:
This was exactly what I needed, after some overnight work the light finally comes xD
I found the content very informative! before this, I was aware about the types of stem cells that existed so this was something new to read about.
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Amniotic Derived Stem Cells
Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
Data Science training in chennai
Data Science training in OMR
Data Science training in chennai
Data Science Training in Chennai
Data Science training in Chennai
Data science training in bangalore
I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.
I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community. data science courses
Really Amazing Article, I have seen here. This is in related to your article that the Best Digital Marketing Course offered by 99 Digital Academy. The course is designed for students, professionals and for business owners. This course is in trend. Click on link to see more.
You should talk it's shocking. Your blog survey would extend your visitors. I was fulfilled to find this site.I expected to thank you for this phenomenal read!!
data scientist course in hyderabad
Cyber Security in Healthcare
Really an awesome blog and informative content. Keep sharing more content with us. Thanks for sharing with us.
Data Science Course Institute in Hyderabad
This is such a great resource that you are providing
DevOpsTraining in Hyderabad
We feel excited to read your valuable post and please always be inspired and keep posting.
instagram photo download
Resolving System.Threading.ThreadAbortException: Thread was being aborted error when performing a long time consuming operation in a page from Layouts folder
domains in computer science
IEEE CSE projects
Project Centers in India
Sometimes we use SharePoint application pages or web parts to perform heavy operations those take long time than usual. In that case we have to explicitly increase the timeout periods using the Web.Config file.
Post a Comment