Nagation is broken after upgrade from SharePoint 2007 to SharePoint 2010 with Dutch Language pack

During a SharePoint 2007 to SharePoint 2010 migrations with Dutch Language Packs you will encounter a broken navigation.

Microsoft has published a PowerShell script which is worthwhile to share with you!

$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);



About Cloud Architect Joran Markx
I have been working on Microsoft Technology since 2003. In addition to (lead) developer and software architect, I am certified Microsoft Specialist and active in design and implementation of Hybrid Cloud platforms. In 2011 I have achieved a Master of Science in IT Management. This made me capable to solve complex issues from the business in an efficient and structured way. As Cloud Architect I am working on various challenging projects with a variety of clients. Within my organisation I fullfill a leading role when it comes to internal development and sharing of knowledge. My goal is to provide reliable and predictable services to our clients with a strong focus on the results achieved for the organisations I am working for.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: