Sitecore Express 迁移工具 3.0 - 运行 时出错

Sitecore Express Migration Tool 3.0 - Error on run

我正在尝试将 Sitecore 8.0 安装迁移到 Sitecore 9.0,Sitecore 开发人员门户中的文档建议使用 Sitecore Express 迁移工具作为最轻松的方法。但是,当我 运行 应用程序时,我立即收到错误消息:

An unexpected error has occured. Please restart the tool and try again. For more information, see the log files.

我检查了日志文件,我只看到了这个:

[  1] 11:40:43.421 INFO  [WizardCore] Moving to the next step. Current step key: ''.
[  1] 11:40:43.510 ERROR Unable to perform wizard step transition. Source: <no>, Target: basic_parameters_step.
System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
   at System.Reflection.Assembly.LoadFile(String path)
   at Sitecore.ExpressMigration.Core.Plugin.PluginRepository.LoadPlugins() in C:\BA\e849cf469cb4cf58\src\Sitecore.ExpressMigration.Core\Plugin\PluginRepository.cs:line 44
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at Sitecore.ExpressMigration.Pipelines.WizardSteps.CreateBasicParameters.AddModuleVersionSelectors.Process(CreateBasicParametersArgs args) in C:\BA\e849cf469cb4cf58\src\Sitecore.ExpressMigration\Pipelines\WizardSteps\CreateBasicParameters_AddModuleVersionSelectors.cs:line 54
   at Sitecore.ExpressMigration.Core.Pipelines.PipelinesService.Pipeline.Run[T](T args) in C:\BA\e849cf469cb4cf58\src\Sitecore.ExpressMigration.Core\Pipelines\PipelinesService\Pipeline.cs:line 54
   at Sitecore.ExpressMigration.Wizard.Steps.Start.BasicParameters.BasicParametersStep.CreateRootDataRequest(Migration migration) in C:\BA\e849cf469cb4cf58\src\Sitecore.ExpressMigration\Wizard\Steps\Start\BasicParameters\BasicParametersStep.cs:line 119
   at Sitecore.ExpressMigration.Wizard.Steps.Start.BasicParameters.BasicParametersStep.<OnBeforeStepEnterAsync>d__29.MoveNext() in C:\BA\e849cf469cb4cf58\src\Sitecore.ExpressMigration\Wizard\Steps\Start\BasicParameters\BasicParametersStep.cs:line 84
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Sitecore.ExpressMigration.Wizard.Core.WizardCore.<PerformStepTransitionAsync>d__51.MoveNext() in C:\BA\e849cf469cb4cf58\src\Sitecore.ExpressMigration\Wizard\Core\WizardCore.cs:line 220
[  1] 11:41:06.247 INFO  [WizardCore] Moved to the next step. Current step key: ''.

这是默认的,没有任何配置更改;引用的系统路径在我的系统 (C:\BA\e849cf469cb4cf58) 上不存在,我不确定如何指定我的实际 Sitecore 项目文件夹的位置。我一直在浏览开发人员门户上的迁移文档,但所有记录的内容都是在假设启动应用程序正常工作的情况下编写的。

我该怎么做才能克服这个错误?我需要进行一些配置更改吗?

  1. 打开Sitecore.ExpressMigration.exe.config
  2. 将以下行 <loadFromRemoteSources enabled="true" /> 添加到 <runtime> 部分