Wednesday, October 27, 2010

Scrum for Team System Template and Sharepoint problems

After upgrading a TFS from 2008 to 2010 at one of my clients, the default.aspx in the SharePoint portal for every TFS site that was using the Scrum for Team System template failed to load. Instead I got a 404 error. I noticed that the problem only occurred for the earliest projects which were created using the 1.2 version of the template. Projects created with the 2.x version kept working.


So I took a look in the log at: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS. Between all the information I found the following error message:

Cannot get ghost document: 1033\SCRUM\default.aspx
Failed to find <ListTemplate> tag corresponding to ID "104", tried both onet.xml for site definition ID "10719" language "1033" and global site definition. Operation failed.
Failed to determine the setup path of the list schema for list template 104.

The issue shows itself existing SFTS 1.2 projects showing a 404 error when navigating to the root of the Team Portal. This has been caused by the removal of files required for the WSS template. I found the following blog that describes the steps to fix the problem: http://consultingblogs.emc.com/sfts/archive/2008/04/28/sharepoint-fix-for-scrum-for-team-system-2-1-upgrades.aspx

However after executing the steps mentioned in the blog post, the sites still failed to load. I restored the backup files again and tried another solution. I browsed directly to the configuration pages by adding ‘_layouts/settings.aspx’ to the sites url. There I choose to reset the style by clicking the Reset to site definition option. Afterwards I was finally able to load the sites(although the layout was really messed up).

No comments: