Welcome to my blog on all things SharePoint. I have a range of articles that will interest you if you've made it as far as visiting my blog. I was awarded as an SharePoint MVP by Microsoft in July 2010. I currently live in New York and am an Enterprise Architect at AvePoint Inc.. I co founded www.NothingButSharePoint.com with Mark Miller in 2010.

MVP AwardJeremy Thake Profile Photo

Whitepapers

NBSP

Check out my articles on NothingButSharePoint.com

Solution Development in SharePoint 2007

This series was inspired by the chatter amongst SharePoint blogs on the best ways to approach customisations in SharePoint using Solutions.

Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6 - Part 7 - Part 8

Leveraging the SharePoint Platform

This series was inspired by a discussion had with Andrew Coates at a Perth SharePoint User Group meeting. This then turned into a 6 part series on Arno Nell's SharePointMagazine.net web site.

Initial post - Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6

Webcasts

I have recorded various web casts that I present at User Groups or just on a specific topic by request:
How ASP.NET Developers can leverage SharePoint webcast
SPSource Webcast: Reverse engineer Lists to ListTemplates and much more
SharePoint Development with Unit Testing webcast
Perth SharePoint UG Web Cast on approaches to deploying artefacts (SPSource)
More...


Podcasts

I have been interviewed about Leveraging the SharePoint Platform by the SharePoint Pod Show: listen here .

RSS Feed Feed your read!

Archives

March 2012 (1)
February 2012 (1)
January 2012 (5)
September 2011 (2)
August 2011 (1)
July 2011 (3)
June 2011 (7)
May 2011 (3)
April 2011 (3)
March 2011 (3)
February 2011 (2)
January 2011 (1)
December 2010 (4)
September 2010 (4)
July 2010 (5)
June 2010 (4)
May 2010 (6)
April 2010 (7)
March 2010 (5)
February 2010 (7)
January 2010 (3)
December 2009 (1)
November 2009 (6)
October 2009 (9)
September 2009 (7)
August 2009 (6)
July 2009 (13)
June 2009 (4)
May 2009 (12)
April 2009 (4)
March 2009 (4)
February 2009 (13)
January 2009 (4)
December 2008 (4)
November 2008 (11)
October 2008 (16)
September 2008 (4)
August 2008 (5)
July 2008 (4)
June 2008 (8)
May 2008 (5)
April 2008 (9)
March 2008 (5)
February 2008 (6)
January 2008 (1)
November 2007 (11)
October 2007 (8)
September 2007 (24)
August 2007 (5)
July 2007 (2)
May 2007 (1)
April 2007 (1)
March 2007 (1)
February 2007 (3)
January 2007 (4)
November 2006 (7)
October 2006 (7)
September 2006 (18)
August 2006 (14)
June 2006 (3)
May 2006 (8)
April 2006 (4)
March 2006 (38)
February 2006 (30)
January 2006 (2)
December 2005 (3)
November 2005 (28)
May 2005 (1)
April 2005 (5)
March 2005 (1)
November 2004 (1)
August 2004 (11)
July 2004 (1)
Failed to render control: An error occurred during a call to extension function 'createMonthUrl'. See InnerException for a complete description of the error.

Links

Tag Cloud

Ajax, Apple, DotNetNuke, Enterprise Content Management, Error Resolution, Gadgets, General, Governance, Microsoft .Net Development, Mobile, SharePoint, Sharepoint Business Forms, Sharepoint Business Intelligence, Sharepoint Collaboration, SharePoint Development, Sharepoint Enterprise Content Management, Sharepoint Enterprise Search, Sharepoint Portal, US Migration, Web 2.0, Workflow

Sandboxed Solutions in SharePoint 2010: Quota breach stops ALL solutions in Site   

Tags:

I presented on Sandboxed Solutions at the Perth SharePoint User Group on Thursday night alongside Sezai Komur (he did Client OM). I went through the standard bits and pieces on Sandboxed Solutions (see references for more detailed info):

  • why
  • benefits
  • what you can do
  • what you can't do
  • resource points and quotas
  • about the Services that monitor them and execute them
  • how to debug them

I then showed a demo of all this, highlighting a Sandboxed Solution actually breaching the resource quota within a Site Collection that I had developed and deployed locally. I adjusted the quota to illustrate that 10 exceptions (1 resource point quota) would breach the quota by refreshing a Web Part with an exception 10 times.

One thing I did notice was the wording when the Sandboxed Solution did breach:

""

Punish them all

This immediately concerned me…what if I had multiple Sandboxed Solutions deployed in that Site Collection? Surely if it is monitoring the resource points for each Sandboxed Solution…it will simply disable the one that breaches? The quota limit actually accounts for the sum of all of the resource points accumulated by ALL Sandboxed Solutions in the Site Collection. So if between them they breach the quota, ALL of them are disabled.

Really?

In a typical scenario, it'll be one rogue Sandboxed Solution that will be chewing through the resource points causing the quota to be breached within a day. SharePoint will simply switch off ALL Sandboxed Solutions without punishing the individual one. I think this will not be the expected result by most people out there. There was some shrugs in the UG audience around it doing this.

Benefits

The benefit of Sandboxed Solutions in this scenario is that it won't implicate other Site Collections, even if those Site collections have the same WSP uploaded to it. This can often be useful, when a certain branch of code fails based on the configuration of the Site Collection e.g. a list may have too many list items and queries time out etc. To extend on this it won't affect other Web Applications either which is a compelling reason for Multi-Tenancy.

It does allow Site Administrators to monitor individual Site Collections to see what ones are chewing through resources and hopefully catch them before they reach their quota. That way not affecting the nicely written WSPs that are not chewing through it ;-) There are plenty of PowerShell scripts to help in this instance.

The Reason

@pndrw (Paul Andrew, Senior Technical Product Manager, Microsoft) was kind enough to respond to my query on this and the explanation behind this is because a site collection is owned by one person/team/tenant. If it wasn't architected to switch them all off, a Site Collection owner could simply upload the same bad WSP multiple times with different GUIDs and use more resources that way.

Will people use this?

I think once people realise that it's focus is to prevent affecting other Site Collections and not isolating/sandboxing individual WSPs. I guess this is really the wording of "Sandboxed Solutions", maybe should have been "Sandboxed Site Collections".

References

 
Posted by  Jeremy Thake  on  3/20/2010
0  Comments  |  Trackback Url  | 0  Links to this post | Bookmark this post with:        
 

Links to this post

Comments

blog comments powered by Disqus