SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom solution which retrieves all the list items from the list with 12000 items. I have used splistitemcollection position method to get listitems to retrieve list items. It works fine in Dev environment, But when i am deploying it in Test environment. Sharepoint throws list view threshold error.

My code is looks exactly as the below link provided by (Vedran Rasol) Server timeout issue when getting 500000 records from SharePoint 2010 list.

share|improve this question

The error tells you that you have reached threshold limit imposed for your site collection in Test environment. To manage this you should

  1. Manually change your settings in Central Administration
  2. Or override this with API. Be sure that in CA your "Allow object model override" option is set to yes

See this to see how.

In the link you have specified there were already article mantioned how to manage this:

Hope it helps,


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.