By Chris R. Chapman at September 23, 2010 03:31
Filed Under: better practices, sharepoint, sharepoint2010

Yeah, I knew this would be the case:  I was just waiting for the other shoe to drop, and via the SharePoint PG’s Tweets, it was confirmed earlier today.  So here’s the juicy bit from the PG Blog:

Please note the important change from the 3:06PM update to this blog post.  We originally stated that SharePoint Server 2007 and Windows SharePoint Services 3.0 did not require the workaround to be applied, however, we have recently discovered through testing that a variant of the issue does affect SharePoint Server 2007 and Windows SharePoint Services 3.0 and also requires extra steps in the workaround for SharePoint Server 2010 (Steps 5-9).  Customers with these versions should refer to the relevant workaround below.  We will continue to keep this post updated with the latest guidance.

The workaround involves changing your error page .aspx and your web.configs and for 2007 an httpHandler.  Pretty serious stuff – ultimately, it’s about configuring your sites and farms correctly.

For more information:

Microsoft Security Advisory (2416728) - Vulnerability in ASP.NET Could Allow Information Disclosure
Security Advisory 2416728 Released – Microsoft Security Response Center Blog
Understanding the ASP.NET Vulnerability – Microsoft Security Research & Defense Blog
Important: ASP.NET Security Vulnerability – Scott Guthrie’s Blog
Frequently Asked Questions about the ASP.NET Security Vulnerability – Scott Guthrie’s Blog

By Chris R. Chapman at September 02, 2010 17:55
Filed Under: sharepoint2010, sharepoint, better practices

Absolutely fantastic resource that I just stumbled upon a little while ago that cobbles together all the SharePoint 2007 and SharePoint 2010 version numbers according to applied Service Packs and Cumulative Updates.  It’s part of a SharePoint site that was set up to support the book, SharePoint Designer – Step-by-Step:

How to find the level of SharePoint you are running?

And here’s the ironic part:  The book is published by Microsoft Press.  I seriously wonder if they ever get the left and right hands talking to each other, as this would be a rather smart page to have front-and-center on the Update Resource Center for SharePoint Products and Technologies.  This is asked so often in most SharePoint shops that I’m amazed this hasn’t been assembled by MSFT earlier.  It’s *vital* when you’re trying to align your DEV, STAGING and PROD boxes to a common patch level.

Sps_2007_version_numbers

By Chris R. Chapman at May 05, 2010 16:58
Filed Under: sharepoint, sharepoint2010

I had to post this as I know that it’s been a burning issue for developers and admins who have tried, as per the directions of many web casts and promises from MCS types like myself, to change a “classic” authentication web app into a “claims based authentication” web app after creation.  Typically, after you’ve created the web app in classic mode, the radio button to change it to Claims is greyed out:

Edit_authentication

So the UI is a bust, however I’ve suspected that there is an easy way to get around this through PowerShell – via Chun Liu’s post, Forms-based Authentication on a Claims-based Web App, we have an answer.  Well, at least the start of an answer.  I had to do some minor tweaks to his script – here’s what you’d need to enter on the command line:

> [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
> $webapp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup("
http://mywebapp")
> $webapp.UseClaimsAuthentication = ‘True’;
> $webapp.Update()
> $webapp.ProvisionGlobally()

Do this on one of your classic auth web apps, and when you load up the Authentication Providers in Central Administration, it will now be Claims enabled.  Ta-da!

Please enjoy responsibly.

Update:  Of course, if you use the SharePoint 2010 Management Shell you can use the abbreviation $webapp = Get-SPWebApplication(http://mywebapp) instead of the long-hand I've used above.

By Chris R. Chapman at May 04, 2010 06:30
Filed Under: better practices, sharepoint, sharepoint2010

One of the top questions SharePoint developers and consultants are asked by their customers is for a list of real-world deployments - either as examples of what can be done with the platform or because they feel more secure in their decision to deploy SharePoint when a lot of other people have done so before them.

Whatever the reason, you want to have some samples to draw on or point folks toward.  The standard canon has been compiled by Ian Morrish over at WSSDemo.com since WSS v2.0 was new.  Ian's since upgraded his site with each release of the platform and has one of the definitive lists of sites around - over 1,500.  However, I just came across another site earlier tonight called Top SharePoint that also has an impressive array (over 1,000) of SharePoint deployments that are apparently rated and ranked by site visitors.  Entries are searchable and feature screen captures and brief descriptions - and as a bonus for we Canucks, they include some prime examples.

What's not clear from TopSharePoint is the version of SharePoint each site is deployed on - keen eyes will be able to discern clues from URLs and navigating the sites, however, it is possible to have 2007 sites upgraded to 2010 with the original look and feel retained.  Nevertheless, these two sites should be kept in your kit for quick reference - sooner or later you'll be asked for them!

By Chris R. Chapman at April 30, 2010 04:47
Filed Under: hacks, sharepoint, sharepoint2010

Via Todd Baginski’s recent post (Which SharePoint 2010 site is right for me?) this fantastic list of “hidden” site templates which were to be officially retired from the final release of SharePoint 2010.  Todd notes that these have been marked as obsolete but some can be created programmatically.

And here I thought all the “fun” of hacking SharePoint was going to be lost with this release.

Site Template NameSite DefinitionConfigurationConcatenated StringPreview Image NameDefined in this WEBTEMP File
Wiki Site WIKI 0 WIKI#0 wikiprev.png WEBTEMP.XML
Tenant Admin Site TENANTADMIN 0 TENANTADMIN#0   WEBTEMP.XML
Access Services Site ACCSRV 0 ACCSRV#0 bsprev.png WEBTEMPACCSRV.XML
(obsolete) Records Center OFFILE 0 OFFILE#0 strc.png WEBTEMPOFFILE.XML
Shared Services Administration Site OSRV 0 OSRV#0   WEBTEMPOSRV.XML
PerformancePoint PPMASite 0 OSRV#0 rchome.png WEBTEMPOSRV.XML
SharePoint Portal Server Site SPS 0 SPS#0 spshome.gif WEBTEMPSPS.XML
SharePoint Portal Server Personal Space SPSPERS 0 SPSPERS#0 perstemp.gif WEBTEMPSPS.XML
Contents Area Template SPSTOC 0 SPSTOC#0 spshome.gif WEBTEMPSPS.XML
Topic Area Template SPSTOPIC 0 SPSTOPIC#0 spshome.gif WEBTEMPSPS.XML
News Site SPSNEWS 0 SPSNEWS#0 spshome.gif WEBTEMPSPS.XML
Publishing Site BLANKINTERNET 0 BLANKINTERNET#0 stpb.png WEBTEMPSPS.XML
Press Releases Site BLANKINTERNET 1 BLANKINTERNET#1 stpb.png WEBTEMPSPS.XML
News Site SPSNHOME 0 SPSNHOME#0 template_news.png WEBTEMPSPS.XML
Site Directory SPSSITES 0 SPSSITES#0 template_site_dir.png WEBTEMPSPS.XML
Community Area Template SPSCOMMU 0 SPSCOMMU#0 spshome.gif WEBTEMPSPS.XML
Report Center SPSREPORTCENTER 0 SPSREPORTCENTER#0 strp.png WEBTEMPSPS.XML
Collaboration Portal SPSPORTAL 0 SPSPORTAL#0   WEBTEMPSPS.XML
Profiles PROFILES 0 PROFILES#0   WEBTEMPSPS.XML
Basic Search Center SRCHCENTERLITE 1 SRCHCENTERLITE#1 template_srch_center_lite.png WEBTEMPSPS.XML

Fantastic find, especially for those situations where customers lament the passing of their favourite site template.  This also goes a long way to explaining why the Fab-40 won’t easily migrate away from SharePoint 2007 to 2010.

About Me

I am a Toronto-based software consultant specializing in SharePoint, .NET technologies and agile/iterative/lean software project management practices.

I am also a former Microsoft Consulting Services (MCS) Consultant with experience providing enterprise customers with subject matter expertise for planning and deploying SharePoint as well as .NET application development best practices.  I am MCAD certified (2006) and earned my Professional Scrum Master I certification in late September 2010, having previously earned my Certified Scrum Master certification in 2006. (What's the difference?)