安装Sitecore XC 10.0过程中遇见的几个问题

Sitecore XC 10.0前几天发布了,没有什么特别大的变化。主要是更新了第三方组件,dotnet core升级到3.1,以及promotion方面的几个小功能。

安装过程对比9.3版本也没太大的区别,有个别地方需要注意一下:

1. 需要提前安装好Asp.net dotnet core Hosting bundle, 不然安装的过程中会出现类似于如下的错误:

HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list

2. 安装需要的Windows Powershell, 但是官方的安装文档中说的确实Powershell 6.0 later。

3. 由于之前的环境中安装过Sitecore XC 9.3。卸载了9.3后再安装10.0的话可能会出现类似于下面的错误:

Login failed for user 'DESKTOP-3VHRS6I\CSFndRuntimeUser'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]

解决办法是重新创建

CREATE LOGIN [DESKTOP-3VHRS6I\CSFndRuntimeUser] FROM WINDOWS;
GO