Your company network includes a SharePoint Server 2013 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 2013 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 2013)
This topic has not yet been rated – Rate this topic
Published: May 12, 2013
A sandbox is a restricted execution environment that enables programs to access only certain resourcesand
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 sandboxedsolutions, cannot use certain computer and network
resources 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, seeSandboxed solutions overview (SharePoint Foundation
2013).
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 asecurity
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 Managementsection, 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. Thismessage will be displayed when a user tries to usethe
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 Managementsection, 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 clickRemove.
To unblock additional solutions, repeat step 4.
Click OK.
http://technet.microsoft.com/en-us/library/ff535773.aspx