SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have upgraded two similar farms (one development and one test). The branding/design is identical and both farms are using Visual Upgrade. The farms have different versions of ContentQueryMain.xsl. The dev farm is using the 2007 version of ContentQueryMain.xsl and the test farm is using the 2010 version of ContentQueryMain.xsl.

The 2010 version of ContentQueryMain.xsl breaks some of the branding. I have "fixed" the problem in our test farm by replacing ContentQueryMain.xsl with the 2007 version.

I did the dev farm upgrade using the database attach method. I did not do the test farm upgrade, it was done as an in-place upgrade.

My question is, which version of ContentQueryMain.xsl should be used if the upgrade is successful and Visual Upgrade is enabled?

I had assumed that the 2007 version would be used while Visual Upgrade is enabled and then, the 2010 version would be used after the UI was upgraded. Now that we are seeing mixed results in our upgrade testing, I'm not sure which is correct.

share|improve this question

After some additional research, it looks like the in-place upgrade had problems and did not complete successfully. I think this accounts for the odd behavior we were seeing from that farm.

share|improve this answer
So does this mean the 2007 version is correct? Which farm upgraded properly? – Kit Menke Jan 16 '12 at 4:27
@Kit Menke: The dev farm upgraded correctly. The 2007 version of ContentQueryMain.xsl is correct when Visual Upgrade (use 2007 gui) is enabled. – Eric Scott Jan 16 '12 at 13:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.