Your company network includes a SharePoint Server 2010 Service Pack 1 (SP1) server. A sandbox
solution repeatedly fails. You need to prevent the solution from running. You also need to ensure
that the resolution affects no other sandboxed solutions in the site collection. What should you do?
A.
From the Site Collection Quotas and Locks page, raise the resource quota that is applied to the
site collection
B.
From Microsoft SQL Server Management Studio, set the status of the site collection content
database to read-only.
C.
From the SharePoint 2010 Management Shell, run the Remove-SPUserSolution PowerShell
cmdlet.
D.
From Central Administration, add the solution as a Blocked Solution on the Sandboxed Solution
Management page.
Explanation:
Block or unblock a sandboxed solution (SharePoint Foundation 2010)
This topic has not yet been rated – 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.
A farm administrator can block a sandboxed solution. A solution that is blocked does not run. Each
sandboxed solution is identified by a hash result of the solution code. If the solution code is changed
and redeployed, it will be seen as a new sandboxed solution and will be allowed to run even if the
original is still blocked.
For more information about sandboxed solutions, see Sandboxed solutions overview (SharePoint
Foundation 2010).
In this article:
Block a sandboxed solution
Unblock a sandboxed solution
Block a sandboxed solution
You might need to block a sandboxed solution if it exceeds its typical resource usage or if it poses a
security risk. To block a sandboxed solution, use the following procedure.
To block a sandboxed solution 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, click System Settings.
On the System Settings page, in the Farm Management section, click Manage user solutions.
On the Sandboxed Solution Management page, in the Solution Restrictions section, in the File box,
either type the full path of the file that contains the solution to block or use the Browse button to
browse for the file to block.
Optionally, type a message in the Message box. This message will be displayed when a user tries to
use the solution.
Click Block.
The solution is added to the list in the Blocked Solutions box.
To block additional solutions, repeat steps 4 through 6.
Click OK.
Unblock a sandboxed solution
If the situation that caused a sandboxed solution to be blocked has changed and you want to
unblock the solution, use the following procedure.
To unblock a sandboxed solution 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, click System Settings.
On the System Settings page, in the Farm Management section, click Manage user solutions.
On the Sandboxed Solution Management page, in the Solution Restrictions section, in the Blocked
Solutions box, select the solution to unblock, and then click Remove.To unblock additional solutions, repeat step 4.
Click OK.
http://technet.microsoft.com/en-us/library/ff535773.aspx