Error with SharePoint Sandbox

TN 101 Reputation points
2022-05-20T18:33:41.653+00:00

Hi all, we had dev laptop running VM workstation and having SharePoint 2013 version install below:

SharePoint version 15.0.4569.1506
Config database version 15.0.5423.1000

We build some custom list and and got the following error when we tried to save the item:

"The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request."

Please help us to identify the root cause of this and how to fix it?

Thanks

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,668 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,799 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,116 Reputation points
    2022-05-23T06:43:12.513+00:00

    Hi @TN ,

    Based on my research, here are some reasons that may cause this issue, please check and then test whether it works:

    1. Be sure the sandboxed host service is running on the appropriate servers. The service is called Microsoft SharePoint Foundation Sandboxed Code Service in Central Admnistration. It is called SharePoint 2010 User Code Host in Windows Services. It can be started in either place.
    2. A second known cause is certain values in the local computer policy of the servers running the sandboxed host service.
    3. A third known cause is the presence of the following key in the registry of the servers that are running the sandboxed host service. (An additional symptom of this cause is that the service stops a few seconds after starting.)
    4. A fourth known cause is that SharePoint is trying to check for certificate revocations at crl.microsoft.com.

    More information for reference:
    https://learn.microsoft.com/en-gb/archive/blogs/sharepointdev/error-the-sandboxed-code-execution-request-was-refused-because-the-sandboxed-code-host-service-was-too-busy-to-handle-the-request-ricky-kirkham


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.