SharePoint 2007 to 2010 migration error when changing the UIVersion and masterpages
I am with my team currently busy on a migration of our intranet from SharePoint 2007 to SharePoint 2010. Part of this migration, is updating the masterpages, so that we can benefit from every new SharePoint 2010 feature.
The Problem
Recently, two of our teammembers got the following error message after updating the UIVersion to 4 and setting a specific SP2010 masterpage.
One or more field types are not installed properly. Go to the list settings page to delete these fields.
the strange thing was, we all used the same content databases, same WSP's, same codebase, everything was the same. Searching the internet for this error, didn't bring me a real solution. Some answers to forum posts suggest to force disable the publishing infra structure feature, delete the relationships list and enable the feature again, but that didn't seem to be a very constructive solution to me: I still didn't know what caused the error, and as some other team members didn't get the error, I suspected that something else was happening.
The solution
Due to the fact that not everyone in our team got the error when updating, I suspected it was an environmental issue. After running the following powershell command, I found out that everyone was on the same patchlevel:
PS C:\Users\ontbsale\Documents> farm.BuildVersion
Major Minor Build Revision ----- ----- ----- -------- 14 0 6106 5002
When I checked the installed patches to SharePoint 2010, I found out that on our central development-environment and on my machine, SP1 including the language packs were installed. A quick check on the development machines of my team members learned me that SP1 was rolled out, but that they didn't install the dutch language packs. Due to the fact that our (custom) site definitions were based on the dutch LocalID, it seemed to be that the combination of a dutch site and the lack of the current language specific service pack is a killing combination
Summary
The experience above is (again) one of those experiences that teach us how important it is to upgrade your SharePoint 2010 environment exactly. Make sure to be on the correct patchlevel (the same as the one that is used on your DTAP-environment) and make sure that every patch that is correlated with that build-version is installed. Not doing that (e.g., just a part of the SP1 packs) can cause problems that seem to be unexplainable. Luckily we solved this problem. If not, we would have a big issue in our migration process: who could ensure us that this wouldn't happen during the go-live weekend?!