No list or site templates available in Silverlight create form

September 7, 2011

After a recent upgrade from SharePoint 2007 to SharePoint Server 2010 the client noticed when a new site was created it used the default SharePoint 2010 look and feel. This wasn’t an issue until they tried to create a list in this site when they found the Silverlight popup box was displayed but the available list templates was empty and instead the in progress icon was displayed.

I spent a considerable amount of time looking for any additional details in the event viewer and the ULS logs but there was no details on why this was happening. I suddenly remember I had a similar issue with setting the theme in a new SharePoint site after the upgrade. The error in that situation was the theme gallery hadn’t been properly created so I check and there was no solution gallery at the root of the site.

I then used the same solution as with the theme gallery error. I when to the root of the site and went to create a new list. In the create screen I then changed the URL and removed the feature section of the URL and changed the template ID, see below.

URL to create a custom list

URL to create a solution gallery list

I set the name to be solutions and click create. This created a new solutions gallery under the catalogs section of the site. When I went back to my new SharePoint 2010 site and tried to create an new list I was presented with the available list templates.

Display Form Error Post SharePoint 2007 to SharePoint 2010 Upgrade

July 19, 2011

My last project I worked on upgrading a MOSS 2007 site to SharePoint Server 2010 and while the vast majority of the site works as expected there were certain occasions when I click on an item in a list I got the standard SharePoint error screen saying an error occurred. As per normal this is not helpful in the slightest, however when I checked the log I noticed the error below.

System.Web.HttpException: Cannot find ContentPlaceHolder ‘PlaceHolderUtilityContent’ in the master page ‘~masterurl/default.master’, verify content control’s ContentPlaceHolderID attribute in the content page. at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) at System.Web.UI.Page.get_Master() at System.Web.UI.Page.ApplyMasterPage() at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Post upgrade I was still running in the SharePoint 2007 UI using some custom masterpages so I just figured another Content Placeholder was required in SharePoint 2010 so I added the line below to each of my custom masterpages and it started working.

<asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server" />

%d bloggers like this: