Enable sandboxed solutions on the farm (SharePoint Server 2010)

 

Si applica a: SharePoint Foundation 2010, SharePoint Server 2010

Ultima modifica dell'argomento: 2016-10-17

UNRESOLVED_TOKEN_VAL(SandboxSolutions)

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 Panoramica delle soluzioni in modalità sandbox (SharePoint Server 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

  1. 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.
  2. On the home page of the Central Administration Web site, in the System Settings section, click Manage services on server.

  3. On the Services on Server page, in the Server box, select the server on which you want to enable sandboxed solutions.

  4. In the Microsoft SharePoint Foundation Sandboxed Code Service row, in the Action column, click Start.

  5. Repeat steps 3 and 4 for each server on which you want to enable sandboxed solutions.

To enable sandboxed solutions by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: vedere Add-SPShellAdmin.

  2. Click Start, and then click All Programs.

  3. Click Microsoft SharePoint 2010 Products.

  4. Click SharePoint 2010 Management Shell.

  5. At the Windows PowerShell command prompt, type the following command:

    Start-Service -Name SPUserCodeV4
    
  6. Repeat this procedure on every server on which you want to enable sandboxed solutions

See Also

Concepts

Panoramica delle soluzioni in modalità sandbox (SharePoint Server 2010)
Pianificare le soluzioni in modalità sandbox (SharePoint Server 2010)
Configure load balancing for sandboxed solutions (SharePoint Server 2010)
Block or unblock a sandboxed solution (SharePoint Server 2010)
Configurare i livelli del servizio per soluzioni in modalità sandbox (SharePoint Server 2010)
Configurare i punti risorsa per le soluzioni in modalità sandbox (SharePoint Server 2010)