SharePoint Migration What do I expect ? (The issues and solutions)

21
SharePoint Migration What do I expect ? THE ISSUES AND SOLUTIONS By K.Mohamed Faizal , www.zquad.in / @kmdfaizal @ SharePoint CoP on 31 st Jan 2013

description

There are tons of resources on the Internet today that tell you how to migrate your SharePoint 2007 environment to SharePoint 2010. Sometimes, achieving something becomes difficult due to of lack of information, This presentation will help you in achieving your migration goal. You may probably have seen these articles or links that talk about ◦Top 5 SharePoint Migration Pitfalls ◦Database attach or Backup-SPSite / Restore-SPSite ◦Understand the SharePoint Migration Schedule ◦Understand Your SharePoint Customizations Before Migrating In this presentation, I am going to cover the issue that you may discover during your migration or after migration. ?

Transcript of SharePoint Migration What do I expect ? (The issues and solutions)

Page 1: SharePoint Migration What do I expect ? (The issues and solutions)

SharePoint Migration What do I expect ? THE ISSUES AND SOLUTIONS By K.Mohamed Faizal , www.zquad.in / @kmdfaizal@ SharePoint CoP on 31st Jan 2013

Page 2: SharePoint Migration What do I expect ? (The issues and solutions)

Migration There are tons of resources on the Internet today that tell you how to migrate your SharePoint 2007 environment to SharePoint 2010.

Sometimes, achieving something becomes difficult due to of lack of information, This presentation will help you in achieving your migration goal.

You may probably have seen these articles or links that talk about ◦ Top 5 SharePoint Migration Pitfalls ◦ Database attach or Backup-SPSite / Restore-SPSite◦ Understand the SharePoint Migration Schedule◦ Understand Your SharePoint Customizations Before Migrating

In this presentation, I am going to cover the issue that you may discover during your migration or after migration. ?

Page 3: SharePoint Migration What do I expect ? (The issues and solutions)

Blank Page display NO ERROR message displayed it display just Blank White Page

<httpErrors errorMode="Custom" existingResponse="Auto" >

1

Solution : http://www.zquad.in/2010/07/sharepoint-2010-blank-page-display-401.html

Page 4: SharePoint Migration What do I expect ? (The issues and solutions)

Blank Page display• Click Start, click Run, type regedit, and then click OK.• In Registry Editor, locate and then click the following registry

key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

• Right-click MSV1_0, point to New, and then click Multi-String Value.

• Type BackConnectionHostNames, and then press ENTER.• Right-click BackConnectionHostNames, and then click Modify.• In the Value data box, type the host name or the host names

for the sites that are on the local computer, and then click OK.• Quit Registry Editor, and then restart the IISAdmin service.

1

Solution : http://www.zquad.in/2010/07/sharepoint-2010-blank-page-display-401.html

Page 6: SharePoint Migration What do I expect ? (The issues and solutions)

Open PDF files in browser Central Admin > Application Management > Manage Web Applications

Single-click the row of your web application

Click General Settings in the ribbon

Scroll down to Browser File Handling and select Permissive

http://claytoncobb.wordpress.com/2011/01/07/sharepoint-2010-how-to-open-files-that-prompt-for-save-or-cancel/ 2

Page 7: SharePoint Migration What do I expect ? (The issues and solutions)

Open PDF files in browser Once you enabled “Permissive” Browser File Handling, SharePoint will allow all documents be opened in the browser. Today, there is no “out-of-the-box” option to allow Permissive option for PDF documents only

How to overcome this ?

http://www.pdfshareforms.com/sharepoint-2010-and-pdf-integration-series-part-1/ 2

Page 8: SharePoint Migration What do I expect ? (The issues and solutions)

Subscribed alerts will not work

Description Old URL New URLIntranet http://intranet.sharepoint.com http://inet.sharepoint.com

Solution Sourcehttp://technet.microsoft.com/en-us/library/cc508847.aspx#section2

http://www.sharepointdiary.com/2011/10/fix-alerts-in-sharepoint-migration.html

3

Issue due to The host name changed.The port that the Web application uses changed.The name of the server changed.

Invoke-AlertFixup -site http://inet.sharepoint.com -oldurl http://intranet.sharepoint.com

Page 9: SharePoint Migration What do I expect ? (The issues and solutions)

Site collection is locked4 Monday morning, the calls started for some reason,

Long-time users were unable to edit list items?

I figured this may permissions issue ? so I popped in to look at the Site Settings and found that everything alright

A quick trip to Central Administration showed that I was still listed as a Site Collection Administrator

Page 10: SharePoint Migration What do I expect ? (The issues and solutions)

Site collection is locked4 Resolution :

If the site collection keeps going to read only mode, we must check whether site collection is locked, if it is locked then we must see whether the backup is running during that time, by default if you run the backup via stsadm or powershell.

The site collection will get locked automatically and go read only mode and after finish the backup will automatically revert to normal.

Note that sometime the third party backup software run during that time.

Fire up stsadm and issue the following command:stsadm -o setsitelock -url http://myportalsitecollection -lock none

Application Management->SharePoint Site Management->Site collection quotas and locks.

Page 11: SharePoint Migration What do I expect ? (The issues and solutions)

People picker One-way trust between our SharePoint domain (A) and domain (B).

We would like to have users from the external domain be able to access our SharePoint portal.

We also want to be able to search for those external users in the people picker.

Returning no results when searching for users by name, or browsing all users

5

Page 12: SharePoint Migration What do I expect ? (The issues and solutions)

People picker stsadm -o setapppassword -password password

(Needs to be executed at every server in the farm for one time.)

stsadm -o setproperty -pn peoplepicker-searchadforests -pv

"domain:domaintosearch.com,username,password" -url http://centraladminurl

Stsadm –o setproperty –pn peoplepicker-setadsearchforests –pv

"domain:domaintosearch.com,username,password" -url http://centraladminurl

5

Page 13: SharePoint Migration What do I expect ? (The issues and solutions)

Search Results One-way trust between our SharePoint domain (A) and domain (B).

You install and configure a beautiful, fresh, and pristine SharePoint environment

Test search by performing a full crawl. Results are returned. All’s good. Right?

Now, User (DomainB\User1) has access to content crawled on DomainA.

DomainB\User1 is returned zero results when he or she issues a search query on DomainA.

6

Page 14: SharePoint Migration What do I expect ? (The issues and solutions)

No Search Results This scenario occurs if you have a one-way trust established and are performing a search with a user from the trusted domain.

In order to rectify this situation, you’ll have to configure your Search Service Application to store ACLs in Claims format. To do this, you’ll have to use PowerShell

6

$searchapp = Get-SPEnterpriseSearchServiceApplication$searchapp.SetProperty("ForceClaimACLs",1)

Source: http://support.microsoft.com/kb/2344518

Security trimming is done in the query processor(QP). In SharePoint 2010, the QP has moved from the WFE to the query servers.Since the WFE only sends the user’s SID to the QP, AuthZ API fails to authenticate across domains. In SharePoint 2007, security trimming was done in the WFE. The AuthZ API worked as the querying user’s group information was available.

Page 15: SharePoint Migration What do I expect ? (The issues and solutions)

Absolute links to relative URLs Common concerns during SharePoint upgrades are hard-coded or broken links

By default, the list or the document library link has been added to the Quick Launch on the left hand side of your site That kind of link upgrades with no issues since it is a relative link that SharePoint knows about and knows how to call and reference.

When users, such as site owners, manipulate the Quick Launch navigation and add additional links, they manually type in the address and description, so that it is easier for their end users to access the link content, that link is what gets broken after an upgrade.

Solution Source : http://sharepointquester.com/2012/10/30/updating-sharepoint-absolute-urls-with-relative-urls-using-windows-powershell/

7

Page 16: SharePoint Migration What do I expect ? (The issues and solutions)

Fixing Missing Web Part & Feature issuesre-upgrade check is telling you that some web parts are being referenced but they are installed on the server. It should look something like this

The following web part(s) are referenced by the content, but they are not installed on the web serverId = GUID, Type = Unknown, Reference = 2, Status = Missing

stsadm.exe -o enumallwebs -includewebparts > N:\enumwebs.txt

8

Page 17: SharePoint Migration What do I expect ? (The issues and solutions)

Fixing Missing Web Part & Feature issuesThe following feature(s) are referenced by the content, but they are not installed on the web serverName = Unknown, Feature id = GUID, Reference count = 43, Scope = Web, Status = Missing

8

CodePlex : http://featureadmin.codeplex.com/

Source :http://sharepointreporter.wordpress.com/

Page 18: SharePoint Migration What do I expect ? (The issues and solutions)

User Migration from Domain A to Domain B

Make sure that you full control permission for the login user for the User profile service application (UPS). And also ensure that you login using service account.

When you click on a user in a SharePoint list item with the column type is Person or Group Name (With Presence), you may get a page cannot be displayed error.

9

Page 19: SharePoint Migration What do I expect ? (The issues and solutions)

User Migration from Domain A to Domain B9

Page 20: SharePoint Migration What do I expect ? (The issues and solutions)

Missing Event Receivers During SharePoint 2010 Migration, Preupgradecheck reported the issue of missing Event Receivers:

stsadm -o enumallwebs -includeeventreceivers > EventReceivers.txt

Un-Register the Event Receivers:

Download http://speventreceiverman.codeplex.com/

10

Source :http://www.sharepointdiary.com/2011/08/fix-missing-event-receivers-issue-in.html

Page 21: SharePoint Migration What do I expect ? (The issues and solutions)

SharePoint

By K.Mohamed Faizal ,

Lead Consultant, Chief Architect Office

NCS (P) Ltd, Singapore

www.zquad.in / @kmdfaizal