You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm. The farm contains a site
collection named Intranet. You upload a custom solution to the Solution Gallery of Intranet. You
discover that you cannot activate the custom solution. You need to ensure that you can activate the
solution in Intranet. What should you do?
A.
From Central Administration, start the Application Registry Service.
B.
From Windows PowerShell, run Start-Service -Name SPUserCodeV4.
C.
From Central Administration, create a new service application.
D.
From Central Administration, start the Microsoft SharePoint Foundation Sandboxed Code Service.
E.
From a command prompt, run stsadm.exe -o execadmsvcjobs
F.
From Windows PowerShell, run Start-Service -Name SPAdminV4
G.
From Central Administration, activate the Global Web Parts feature.
H.
From Windows PowerShell, run New-SPAccessServiceApplication -Name SandboxSolution
Confirm:$true.
Explanation:
Enable sandboxed solutions on the farm (SharePoint Foundation 2010)
1 out of 1 rated this helpful – Rate this topic
Published: May 12, 2010
A sandbox is a restricted execution environment that enables programs to access only certain
Resource:
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 Resource:
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 farmadministrator. 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
http://technet.microsoft.com/en-us/library/ff535775.aspx