Andrew Connell [MVP MOSS]
1419 Posts |  40 Articles |  3755 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
SharePoint Quick Links
Article Categories
Archives
Post Categories


Add to Technorati Favorites

 

Earlier today I posted about an issue you'll run into if you have created a Publishing site in MOSS 2007 Beta 2 (B2) and then upgrade to Beta 2 Technical Refresh (B2TR). The goal of this post is to explain the root of the issue, as well as offer up a fix.

What's the issue?
If you've created a Publishing site in MOSS 2007 B2 and then upgrade to B2TR, you may see the following error reported:

An error occurred during the processing of /_catalogs/masterpage/TopNavFlyouts.master. Type "Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapDataSource" does not have a public property named 'TrimNonCurrentHeadings'.

First, why are you seeing this issue?
The reason you're seeing this issue is because your Publishing site (or WCM site) is using one of the master pages that was in B2 but has been depreciated in B2TR. Which ones are depreciated (and what's the B2TR equivalent)?

 

B2 Depreciated Master Page » B2TR Master Page
TopNavFlyouts.master » BlueBand.master
LeftNavFlyouts.master » BlueVertical.master
Stacked.master » BlueTabs.master

As the error message states, the property named TrimNonCurrentHeadings in TopNavFlyouts.master on the TopNavFlyouts.master page no longer exists in B2TR. The property has been renamed to TrimNonCurrentTypes which takes strings such as "headings,pages".

So, why doesn't the installer/upgrader fix this? When the upgrade runs, it tries to delete depreciated master pages that aren't currently in use. If a depreciated one is in use, its log in the upgrade log, but its not deleted. For those that are not deprecated, they are upgraded.

Second, how do you fix it?
If you are using one of the depreciated master pages in your site collection or page layout, the recommended way to resolve this issue is to edit the site collection or page layout and change it to use one of the master pages that wasn't depreciated.

If you have site that's not inheriting from the top level site in a site collection or from its parent site, then you need to change that site's master page as well.

I'd expect to see this info, along with possibly more detail, on the ECM blog in the next day or week.

Now for some WCM B2TR fun...

Technorati: , , ,

posted on Friday, September 15, 2006 2:00 AM

Feedback

 re: MOSS 2007 Beta 2 WCM/Publishing sites break when upgrading to Beta 2 Technical Refresh... and a fix! 9/19/2006 3:30 PM Ron Bokleman
Gravatar You might also mention that the url do make the change is:

http://machinename/sitename/_Layouts/ChangeSiteMasterPage.aspx

 re: MOSS 2007 Beta 2 WCM/Publishing sites break when upgrading to Beta 2 Technical Refresh... and a fix! 9/19/2006 6:45 PM Bill
Gravatar I get this error when trying to hit the /pages/default.asp page when I try and load the portal so how can I change the page layout to use a different master?

# re: MOSS 2007 Beta 2 WCM/Publishing sites break when upgrading to Beta 2 Technical Refresh... and a fix! 9/19/2006 9:34 PM AC [MVP MCMS]
Gravatar Ron - Thanks for adding this. I have a lot more to add to this post... more details on the issue.
Bill - See Ron's comment.

 re: MOSS 2007 Beta 2 WCM/Publishing sites break when upgrading to Beta 2 Technical Refresh... and a fix! 9/22/2006 6:22 PM Jason Sherry
Gravatar Like Gravatar I get the error when trying to bring up the main site. Never did anything special on the main site either, just installed SP and created some sites for InfoPath '07 testing and development.

I can bring up sites but not the root page.

 re: MOSS 2007 Beta 2 WCM/Publishing sites break when upgrading to Beta 2 Technical Refresh... and a fix! 9/22/2006 6:29 PM Jason Sherry
Gravatar Got it working, just went to the http://machinename/sitename/_Layouts/ChangeSiteMasterPage.aspx URL and changed the master page to one of the ones listed.

Didn't need to open anything up in SPD.

 re: MOSS 2007 Beta 2 WCM/Publishing sites break when upgrading to Beta 2 Technical Refresh... and a fix! 10/14/2006 1:59 AM Rona
Thank you very much Andrew and Ron!

Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 2 and 3 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelevant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2009 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License
Site design by Heather Solomon.

 
 
MOSS WCM Training
Looking for MOSS 2007 WCM developer training? Look no further! I teach my 4-day hands-on and 5-day online WCM classes for developers I offer through the Ted Pattison Group.

Get more information on the WCM courses!


Upcoming Classes
 Hands-on WCM:
 » Las Vegas, NV
   April 20-24, 2009
 Online WCM:
 » Feb 9-13, 2009


» Register today!

JAX Office Geeks
Jacksonville Office Geeks (JOG)
JOG is a special interest group in Jacksonville, FL dedicated to bringing the local SharePoint commnity together to share tips, tricks, ideas and best practices for developing solutions on the SharePoint platform.

Next meeting details...
When:
Thur. Feb 19th, 2008
  6-8p EDT
Topic:
Cheap and Easy Wildcard Search

Speaker:
Becky Isserman

RSVP Today!


» Subscribe to the JOG newsletter