Tuesday, March 22, 2011

07-07/10-10: Migrate sub-site with a custom permission level

Issue:
You see the following error in the import.log for a migration job:


Progress: Importing Role Assignment for "sub-site".
FatalError: The given key was not present in the dictionary.

 
Error description:
By default permission levels of a site are inherited from its top level site (i.e. site collection). The issue occurs in the following scenario:
There is the http://source site collection and the http://source/sub-site sub-site. The "sub-site" has a user (or group) with permissions assigned via a custom permission level. The permission levels are inherited from the site collection.
When the "sub-site" is migrated to a new http://target site collection, the custom permission level is not created on the sub-site level as it should be created on site collection level. If the target site collection does not have the custom permission level, the error occurs.

How to fix:
There are two workarounds:

  1. Create the custom permission level in the target site collection manually and retry import for the migration job
  2. Break inheritance of permission levels on the source "sub-site" and restart migration job.

03-07/03-10: How to migrate Survey with all responses

Migration Manager preserves settings for the Survey lists. The “Allowed multiple responses” option which may cause issues with migration of survey responses. If some responses have been made by users that do not exist in AD anymore MM replaces the user account to the MM target service account. In this case all the further responses cannot be created and you see the “You are not allowed to respond again to this survey” error.
MM has a configurable option for Survey list migration.
User can define how to migrate the "Allowed multiple responses" option

To adjust the option:

  1. Open the "Quest Software\Migration Manager for SharePoint\SpringConfigs\Migrators.xml" file and locate the following line:
    <property name="AllowMultiResponsesForSurvey" value="Default" />
  2.  Set required value for this property.
    The possible values are:
    AlwaysOn - the "Allowed multiple responses" option always set to Yes on the target site (for all migration jobs)
    AlwaysOff - the "Allowed multiple responses" option always set to No on the target site (for all migration jobs)
    Default - the "Allowed multiple responses" option set as it was in the source site.

    To migrate all responses you should set the option to AlwaysOn.
  3. Re-migrate the required surveys (i.e. delete the target survey and create a new job) or you re-migrate the whole site.

Monday, March 21, 2011

07-07: Disabling of version migration

In some cases disabling of version migration allows you successfully complete 07/10 reorganization.
Perform the following steps:

1. Open the "Migration Manager for SharePoint\Web Interface\Migration 2007\ExportImport.py" file.
2. Locate the following line:
'IncludeVersions' :4 
There are two lines in the file.
3. Replace 4 to 1 in both lines.
4. Save the file and restart 2k7 Source service.

What the number means:
1 - Last major version for files and list items
2 - The current version, either the last major or the last minor
3 - Last major and last minor version for files and list items
4 - All versions for files and list items

 

Thursday, March 10, 2011

Migration Manager deployment matrix


The following matrix helps you to understand where to install MMSP for a particular migration scenario:

        Source
Target
SharePoint 2003
SharePoint 2007
SharePoint 2010
SharePoint 2007
SharePoint 2007
(SP 2003 optionally)
Both source and target 2007 farms
(Use the same repository database)
Is not supported scenario
SharePoint 2010
SharePoint 2010
(SP 2003 optionally)
SharePoint 2007
(extension on target)
Both source and target 2010 farms
(Use the same repository database)