SharePoint 2016 custom list edit item error when created using site template

Ayan Chine 96 Reputation points

In SharePoint 2016, I am getting error message ("No available sandboxed code execution server could be found") when trying to update list items which exists in a sub-site which was created based on a team site template programmatically. I am not getting this message when I try to update the same list in my sample site (from which the template was created) which exists in the same web application.

I started "Microsoft SharePoint Foundation Sandboxed Code Service" in CA even though I am not using sandbox solution, as a result this error message disappeared but in few lists when I try to edit list item I am getting another message "Unable to load assembly group. The user assembly group provider was unable to provide any user assemblies for the specified assembly group."

I m stuck here, any help is appreciated!

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,557 questions
{count} votes

Accepted answer
  1. Ayan Chine 96 Reputation points

    I have tried that but no luck!

    Then I have identified that 2 lists were somehow corrupted, because when I deleted those 2 lists and created again, everything strted working :)

1 additional answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 29,126 Reputation points Microsoft Vendor

    Hi @Ayan Chine
    You can try to restart the sandboxed code service. Then check the permissions your sandbox code service is running under. It should be "full control" rights. The Microsoft SharePoint Foundation Sandboxed Code Service runs with a specific account. Add this account to the web application (you’re using to deploy the solution) in Central Administration, User Policy, with full control. Perform an iisreset afterwards.

    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.