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 40000 items in a document library. The threshold is set to 2,000 items at CA.

All documents can render all the items.

But if I add grouping on a column "Contract Number" (which is a combination of letters and numbers) then the view fails and gives following error. The reason for grouping is there are 100s of contract that has the same Contract Number.

What are my options in order to get grouping on columns like these.

Server Error in '/' Application.

Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED)) 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.InteropServices.COMException: Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))

Source Error: 
share|improve this question
Did u tried adding a limit to the view using Item Limit and see if that removes the issue? ALso, did u customized the View or use a SPD designed View? – Marius Constantinescu - MVP Feb 10 '13 at 13:06
Did you try indexing the column? Are you using any custom code on the page that might dispose of object you shouldn't? – MBSurf Feb 10 '13 at 18:27
view limit is 30 per page. The column is indexed. Have not tried to customize using SPD. No other customization on that page that should dispose the web or current context . – user14808 Feb 10 '13 at 22:55

the below link may solve your problem..

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Benny Skogberg Sep 4 '13 at 13:19
While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See answer for general guidelines. – SPDoctor Sep 5 '13 at 9:50

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.