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 office 365 site and web part added on this site. this web part create a document library. This is a sandbox solution I want to create 2000 document library using this code snippet as follow:

      string LibraryName= "Documents -" + i.ToString();

but after creating 15-16 library it give error:: Web Part Error: Sandboxed code execution request failed. Correlation ID: 3131159c-7147-209b-31c1-e5632fa01e46

Is this error occured for Execution Time out or anything else? can anbody solve this problem?

share|improve this question

There is no way to increase the limits. Because there is not server on which you can modify the configs.

The smartest way is to break it into small packets. Or you can use a Visual web part, that call itself after creating each Document Library.

So there must be opened a browser for that, but it didn't get any timeout. It's like pain but it works.

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.