Migration from MOSS 2007 to SharePoint 2010 with Dutch language pack and Publishing template results in navigation error

Article ID: 2484317 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

On Microsoft Office SharePoint Server 2007:

You have installed the Dutch language pack. You created a publishing portal with SubSites and additional pages.

You want to migrate the content database to Microsoft SharePoint Server 2010 and attach the database to a new Web Application.

When you navigate to the homepage of the given Web Application you will see an error (Fout) and the navigation is not usable.

CAUSE

With Microsoft Office SharePoint Server 2007 we stored new Publishing Pages in a library called Pages. In SharePoint 2010 it has been translated to Paginas as the default for Dutch. The navigation code assumes that any changes from the default are noted in a specific property, which is not the case for upgraded Dutch sites that have been created with the 2007 default name.

RESOLUTION

You need to set a particular property to the right value. To accomplish this start SharePoint Powershell and use the following script:

$site = Get-SPSite("http://WebApplicationURL")
foreach ($web in $site.AllWebs)
{
    Write-Output("web:" + $web.ServerRelativeUrl);
    $pageslistid = $web.AllProperties["__PagesListId"]

    if ([String]::IsNullOrEmpty($pageslistid))
    {
        Write-Output($web.ServerRelativeUrl +" doesn't have a pages list id set - skipping");
    }
    else
    {
        $pageslistguid = new-object System.Guid($pageslistid)
        $pageslist = $web.Lists[$pageslistguid]
        $pagesurl = $pageslist.RootFolder.Url
        $pb = $web.Properties;
        $pb.Add("__PagesListName", $pagesurl);
        $pb.Update();
        Write-Output($web.ServerRelativeUrl +" set pages list to " + $pagesurl);
    }
}

MORE INFORMATION

If you want to disable the Publishing feature for any reason and it will not be enabled again you can use the following workaround instead.

Adding a document-library called ‘Paginas’ to the web (subsite) on which you tried to activate the feature again. After that you may remove the temporary document library.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2484317 - Last Review: January 11, 2011 - Revision: 4.0
APPLIES TO
  • Microsoft SharePoint Server 2010
Keywords: 
KB2484317

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com