Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer

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: http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=241

Hope it helps,

Andrew

share|improve this answer
add comment

Your Answer

 
discard

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.