Error message when you run the Microsoft Business Portal Migration Utility in Microsoft Dynamics GP 10.0: "No WebPartXmlMap web part was found on this BP page. Info: Type is Microsoft.SharePoint.WebPartPages.ErrorWebPart"


Symptoms


When you run the Microsoft Business Portal Migration Utility to perform an analysis in Microsoft Dynamics GP 10.0, you receive the following error message in the Analysis log:
ERROR: An unexpected exception was encountered during the analysis. The analysis did not complete successfully.

Exception Information:

System.IO.FileNotFoundException: Business Portal 2.5 with Feature Pack or Business Portal 3.0 must be installed in order to use the migration utility.

at Microsoft.BusinessPortal.Migration.Analyze.Analyze.get_Product()

at Microsoft.BusinessPortal.Migration.Analyze.Analyze.get_MbfPackagerPortalPageBaselineFileName()

at Microsoft.BusinessPortal.Migration.Analyze.Analyze..ctor()
at Microsoft.BusinessPortal.Migration.Analyze.Analyze.Main(String[] args)


ERROR: No WebPartXmlMap web part was found on this BP page.

Info: Type is Microsoft.SharePoint.WebPartPages.ErrorWebPart.

Cause


This problem occurs because Microsoft Windows SharePoint Services 2.0 was upgraded to Microsoft Windows SharePoint Services 3.0 by using the gradual upgrade process. When Windows SharePoint Services was upgraded, Windows SharePoint Services created a duplicate blank Web site. This blank Web site cannot control the .dll files to perform an analysis.

Resolution


To resolve this problem, follow these steps:
  1. Copy all the files from the bin directory of the original Web site to the bin directory of the new Web site. By default, the location of the original Web site is as follows:
    C:\Inetpub\wwwroot\bin
    By default, the location of the new Web site is as follows:
    C:\Inetpub\wwwroot\wss\virtualdirectories\80\bin
  2. In the new Web site folder, make a backup of the Web.config file.
  3. In the new Web site folder, open the Web.config file, and then add the following code to the safeControls section of the Web.config file.
    <SafeControl Assembly="Microsoft.BusinessPortal.Common.UI, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessPortal.Common.UI.WebParts" TypeName="*" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessPortal.PortalPages, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessPortal.PortalPages.Executable" TypeName="RegionalSettings" Safe="True" />
    <SafeControl Assembly="Microsoft.Applications.BusinessDesk.Dynamics,Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.Applications.BusinessDesk.Dynamics" TypeName="*" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessPortal.Kpi.KpiViewer, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessPortal.Kpi.KpiViewer" TypeName="*" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessPortal.Kpi.KpiPortal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessPortal.Kpi.UI" TypeName="KpiAdminFrame" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Shell.WebControls" TypeName="Navigation" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Shell.WebControls" TypeName="WebPartXmlMap" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Shell.WebControls" TypeName="UrlPageWebPart" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Shell" TypeName="BPDefaultPage" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Shell" TypeName="AGNMenu" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Administration" TypeName="AC_ModifyURLPage" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Administration" TypeName="AC_ModifyPortalPage" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Administration" TypeName="AC_CreatePortalPage" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.Portal, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.Portal.Administration" TypeName="AC_CreateHelpPage" Safe="True" />
    <SafeControl Assembly="Microsoft.BusinessFramework.UI.ResultViewers.RVWebParts, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.BusinessFramework.UI.ResultViewers.RVWebParts.WebParts" TypeName="*" Safe="True" />
    Note This code is used to add safe control entries for the Microsoft Business Framework (MBF) Web parts and the Business Portal (BP) Web parts.