You are currently offline, waiting for your internet to reconnect

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

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.
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.
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");
        $pageslistguid = new-object System.Guid($pageslistid)
        $pageslist = $web.Lists[$pageslistguid]
        $pagesurl = $pageslist.RootFolder.Url
        $pb = $web.Properties;
        $pb.Add("__PagesListName", $pagesurl);
        Write-Output($web.ServerRelativeUrl +" set pages list to " + $pagesurl);

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.
Dutch, language pack, migrate
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.

Article ID: 2484317 - Last Review: 01/11/2011 13:24:00 - Revision: 4.0

Microsoft SharePoint Server 2010

  • KB2484317