Enable sandboxed solutions on the farm (SharePoint Foundation 2010)
Applies to: SharePoint Foundation 2010
A sandbox is a restricted execution environment that enables programs to access only certain resources and keeps problems that occur in the sandbox from affecting the rest of the server environment. Solutions that you deploy into a sandbox, which are known as sandboxed solutions, cannot use certain computer and network resources and cannot access content outside the site collection they are deployed in. Because sandboxed solutions cannot affect the whole server farm, they do not have to be deployed by a farm administrator. If sandboxed solutions have been enabled on at least one server in the farm, a site collection administrator can deploy solutions to a run in a sandbox on any server in the farm.
By default, sandboxed solutions are disabled. Enable sandboxed solutions on every application server on which you want to run sandboxed solutions.
For more information about sandboxed solutions, see Sandboxed solutions overview (SharePoint Foundation 2010).
Enable sandboxed solutions
Use the following procedure on each application server in your farm on which you want to enable sandboxed solutions.
To enable sandboxed solutions by using Central Administration
Verify that you have the following administrative credentials:
- You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
On the home page of the Central Administration Web site, in the System Settings section, click Manage services on server.
On the Services on Server page, in the Server box, select the server on which you want to enable sandboxed solutions.
In the Microsoft SharePoint Foundation Sandboxed Code Service row, in the Action column, click Start.
Repeat steps 3 and 4 for each server on which you want to enable sandboxed solutions.
To enable sandboxed solutions by using Windows PowerShell
Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
Click Start, and then click All Programs.
Click Microsoft SharePoint 2010 Products.
Click SharePoint 2010 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Start-Service -Name SPUserCodeV4
Repeat this procedure on every server on which you want to enable sandboxed solutions
Sandboxed solutions overview (SharePoint Foundation 2010)
Plan sandboxed solutions (SharePoint Foundation 2010)
Configure load balancing for sandboxed solutions (SharePoint Foundation 2010)
Block or unblock a sandboxed solution (SharePoint Foundation 2010)
Configure sandboxed solutions service tiers (SharePoint Foundation 2010)
Configure resource points for sandboxed solutions (SharePoint Foundation 2010)