sitecore 9.3安装错误-创建shard-sqlshardingdeploymenttool.exe返回非零退出代码

1zmg4dgp  于 2021-07-24  发布在  Java
关注(0)|答案(1)|浏览(379)

我有sql server 2016 sp2。
一切正常,一些数据库也在sql下创建,然后在shard创建时出现了这个错误。

[ XConnectXP0_SetServicesCertStorePe... : FilePermissions ---------------------]
[XConnectXP0_SetServicesCertStorePermissions]:[Allow] NT AUTHORITY\LocalService
[XConnectXP0_SetServicesCertStorePermissions]:[Path] C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\de9191ad2f8c4a7a919ff6522f9b2f7c_380b148d-8c36-42ab-a690-8f1d118ba921
[XConnectXP0_SetServicesCertStorePermissions]:[Rights] Read
[XConnectXP0_SetServicesCertStorePermissions]:[Inherit] None
[XConnectXP0_SetServicesCertStorePermissions]:[Propagate] None

[------------- XConnectXP0_CleanShards : Command -----------------------------]
[ShardingTool - Clean]:[Path] C:\inetpub\wwwroot\sitecore134xconnect.dev.local\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe

[------------ XConnectXP0_CreateShards : Command -----------------------------]
[ShardingTool - Create]:[Path] C:\inetpub\wwwroot\sitecore134xconnect.dev.local\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe
Command C:\inetpub\wwwroot\sitecore134xconnect.dev.local\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe returned a non-zero exit code - (2)
[TIME] 00:32:24
Command C:\inetpub\wwwroot\sitecore134xconnect.dev.local\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe returned a non-zero exit code - (2)
noj0wjuj

noj0wjuj1#

在我的情况下,通过替换 double backslashes 在microsoft sql server示例值中 single backslash .

看来问题在于斜杠逃逸。单反斜杠和双反斜杠都适用于 powershell (因此您可以看到一些已创建的sitecore数据库),但双反斜杠在中不起作用 Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe .

相关问题