Navigation problem when Dutch publishing sites are migrated to SPS2010


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 the new SharePoint Server 2010 and attached 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 MOSS 2007 we called the Pages also Pages. Now for SharePoint 2010 it has been translated to Paginas. Together with a property not set to the right value this causes the error.

Resolution

You need to set the particular property to the right value. Please start the 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

In case you have to disable the Publishing feature for any reason and it will not be enabled again please use the following workaround.
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.

 

Remarks:

The above script is the only supported way to solve this problem.

Update 11/Jan/2011; we have now also a KB Article for this issue:

2484317    Migration from MOSS 2007 to SharePoint 2010 with Dutch language pack and Publishing template results in navigation error
http://support.microsoft.com/default.aspx?scid=kb;en-US;2484317

Comments (0)

Skip to main content