對 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 可轉散發套件。Microsoft Visual C++ 2015 Redistributable for X64. SPMT 試著在套件中新增所有重新分配,但少了一些系統 dll。嘗試安裝套件可能有助於解決所有相依性。下載:Microsoft Visual C++ 2015 可轉散發套件更新 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 安裝前,請先停止電腦上安裝的第三方防毒軟體。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 或 DoD2 if you are GCC high or DoD
    • 0,如果您使用全球消費者雲端或 GCC0 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