SIGN UP MEMBER LOGIN:    
ARTICLE

How to block the sandbox solutions in SharePoint 2010

Posted by Vijai Anand Articles | SharePoint February 14, 2011
Here we will be seeing how to block or unblock the sandbox solutions in SharePoint 2010
Reader Level:

In this article we will be seeing how to block or unblock the sandbox solutions in SharePoint 2010.

I have created a sandbox solution (wsp file) which consists of a simple web part and I have deployed that in the site collection. Now I am going to block the sandbox solution that I have deployed so that it does not run. Sandbox solution can be blocked in the central administration by the farm administrator.

Steps Involved:

  • Go to Central Administration => System Settings =>Farm Management => Manage User Solutions.

    sandbox1.gif

  • Browse for the wsp file.

  • Add the message and click on Block.

  • Sandbox solution will be added to the Blocked Solutions as shown in the following.

    sandbox2.gif

  • Click on ok.

  • Open the SharePoint site.

  • Go to Site Actions =>Edit Page =>"Editing Tools" in the ribbon interface =>Insert.

  • In the "Categories" select Custom => Sandbox (which is a custom web part).

  • Click on Add.

    sandbox3.gif

  • You will get the following error.

    sandbox4.gif

  • This is because the sandbox solution is added to the blocked solutions.
Note: 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.

Login to add your contents and source code to this article
share this article :
post comment
 
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
Nevron Gauge for SharePoint
Become a Sponsor