解决 SPMT 安装问题Troubleshooting SPMT installation issues

如果在安装 SharePoint 迁移工具时遇到问题,可参考本文提供的有关可能原因和问题纠正步骤的信息。If you are having trouble installing the SharePoint Migration Tool, this article provides information on the possible causes and steps to correct the problem.

如果故障排除后仍遇到问题,请考虑下载并安装 SPMT 的公共预览版 (beta)。If after troubleshooting you still are experiencing problems, consider downloading and installing the public preview (beta) of SPMT. 其中包含最新更新和修补程序。It contains the latest updates and fixes.
下载 SPMT 公共预览版Download SPMT Public Preview

常见问题Common issues

如果在加载 SharePoint 迁移工具时遇到问题,请注意下面一些常常被遗忘的项目。If you are having issues loading the SharePoint Migration tool, here are a few items that are commonly forgotten.

项目Item 要求Requirement
系统体系结构System architecture 必须为 x64Must be x64
.NET 版本.Net version 必须为 4.6.2 或更高版本。请参阅如何确定安装的版本Must be 4.6.2 or higher. See How to determine which versions are installed
适用于 X64 的 Microsoft Visual C++ 2015 Redistributable。Microsoft Visual C++ 2015 Redistributable for X64. SPMT 正试图在程序包中添加所有可再发行组件,但缺少一些系统 dll。尝试安装程序包可能有助于解决所有依赖项。下载:Microsoft Visual C++ 2015 Redistributable Update 3 RCSPMT is trying to add all the redistributions in packages, but missing some system dlls. Trying to install the package might help to resolve all the dependencies. Download: Microsoft Visual C++ 2015 Redistributable Update 3 RC.
防病毒Anti-virus 安装之前,在计算机上停止使用第 3 方防病毒软件。Stop 3rd party anti-virus software on your computer prior to installation.

安装错误Install errors

错误Error 建议操作Suggested action
“已从其他位置安装应用程序 SharePoint 迁移工具”。"Application SharePoint Migration Tool is already installed from another location". 此错误的原因可能是安装未完成。卸载该工具,然后重新安装。An unfinished installation may be the cause of this error. Uninstall the tool and then reinstall.

政府云支持Government cloud support

如果你使用的是政府云,则必须采取以下步骤:If you are on a government cloud, you must first take these steps:

  1. 打开 microsoft.sharepoint.migration.common.dll.config。Open microsoft.sharepoint.migration.common.dll.config.

  2. SPOEnvironmentType 的值更改为:Change the value of SPOEnvironmentType to:

    • 2(如果你设为 GCC High 或 DoD)2 if you are GCC high or DoD
    • 0(如果你使用全球消费者云或 GCC)0 if you use the Worldwide consumer cloud or GCC


    例如:For example:

    更改 SPOEnvironmentType

  3. 双击“microsoft.sharepoint.migrationtool.advancedapp.exe”以启动 SPMT。Double-click "microsoft.sharepoint.migrationtool.advancedapp.exe" to start SPMT.

备注

0 = 全球消费者云和 GCC0 = Worldwide consumer cloud and GCC
2 = GCC High 和 DoD2 = GCC high and DoD