【问题标题】:Sitecore XP 9.1 Installation Error - The property 'Value' cannot be found on this object. Verify that the property existsSitecore XP 9.1 安装错误 - 无法在此对象上找到属性 \'Value\'。验证属性是否存在
【发布时间】:2022-12-24 00:21:38
【问题描述】:

总的来说,Sitecore 超级新手,但我一直在关注guide 以获取 Sitecore 9.1 的设置。我在 Windows 10、带有 SQL Server Management Studio 和 SIF 2.0 版的 SQL Express 2017 上运行笔记本电脑。但是,当我进入第 10 步时遇到了问题执行 .\sc91_install.我收到此错误:

Install-SitecoreConfiguration : The property 'Value' cannot be found on this object. Verify that the property exists.
At C:\sc91_install\sc91_install.ps1:76 char:1
+ Install-SitecoreConfiguration @singleDeveloperParams *>&1 | Tee-Objec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:00:09
Invoke-ManageWebsiteTask : The property 'Value' cannot be found on this object. Verify that the property exists.
At C:\Program
Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.3.0\Public\Install-SitecoreConfiguration.ps1:641 char:25
+                         & $entry.Task.Command @paramSet | Out-Default
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageWebsiteTask

这是我的 sc91_install 文件的样子

$InstallDirectory = "C:\websites\"
# The Prefix that will be used on SOLR, Website and Database instances.
$Prefix = "sc910"
# The Password for the Sitecore Admin User. This will be regenerated if left on the default.
$SitecoreAdminPassword = "SIF-Default"
# The root folder with the license file and WDP files.
$SCInstallRoot = "C:\sc91_install"
# The name for the XConnect service.
$XConnectSiteName = "$prefix.xconnect.local"
# The Sitecore site instance name.
$SitecoreSiteName = "$prefix.local"
# Identity Server site name
$IdentityServerSiteName = "$prefix.identityserver.local"
# The Path to the license file
$LicenseFile = "$SCInstallRoot\license.xml"
# The URL of the Solr Server
$SolrUrl = "https://localhost:8984/solr"
# The Folder that Solr has been installed to.
$SolrRoot = "C:\Solr\solr-7.2.1"
# The Name of the Solr Service.
$SolrService = "Solr-7.2.1"
# The DNS name or IP of the SQL Instance.
$SqlServer = "WKWZTMHKO2GYV0Y\SQLEXPRESS"
# A SQL user with sysadmin privileges.
$SqlAdminUser = "sa"
# The password for $SQLAdminUser.
$SqlAdminPassword = "Adminpw1!"
# The path to the XConnect Package to Deploy.
$XConnectPackage = (Get-ChildItem "$SCInstallRoot\Sitecore 9.1.0 rev. * (OnPrem)_xp0xconnect.scwdp.zip").FullName
# The path to the Sitecore Package to Deploy.
$SitecorePackage = (Get-ChildItem "$SCInstallRoot\Sitecore 9.1.0 rev. * (OnPrem)_single.scwdp.zip").FullName
# The path to the Identity Server Package to Deploy.
$IdentityServerPackage = (Get-ChildItem "$SCInstallRoot\Sitecore.IdentityServer 2.0.0 rev. * (OnPrem)_identityserver.scwdp.zip").FullName
# The Identity Server password recovery URL, this should be the URL of the CM Instance
$PasswordRecoveryUrl = "http://$SitecoreSiteName"
# The URL of the Identity Server
$SitecoreIdentityAuthority = "https://$IdentityServerSiteName"
# The URL of the XconnectService
$XConnectCollectionService = "https://$XConnectSiteName"
# The random string key used for establishing connection with IdentityService. This will be regenerated if left on the default.
$ClientSecret = "SIF-Default"
# Pipe-separated list of instances (URIs) that are allowed to login via Sitecore Identity.
$AllowedCorsOrigins = "http://$SitecoreSiteName"


# Install XP0 via combined partials file.
$singleDeveloperParams = @{
    Path = "$SCInstallRoot\XP0-SingleDeveloper.json"
    InstallDirectory = $InstallDirectory
    SqlServer = $SqlServer
    SqlAdminUser = $SqlAdminUser
    SqlAdminPassword = $SqlAdminPassword
    SitecoreAdminPassword = $SitecoreAdminPassword
    SolrUrl = $SolrUrl
    SolrRoot = $SolrRoot
    SolrService = $SolrService
    Prefix = $Prefix
    XConnectCertificateName = $XConnectSiteName
    IdentityServerCertificateName = $IdentityServerSiteName
    IdentityServerSiteName = $IdentityServerSiteName
    LicenseFile = $LicenseFile
    XConnectPackage = $XConnectPackage
    SitecorePackage = $SitecorePackage
    IdentityServerPackage = $IdentityServerPackage
    XConnectSiteName = $XConnectSiteName
    SitecoreSitename = $SitecoreSiteName
    PasswordRecoveryUrl = $PasswordRecoveryUrl
    SitecoreIdentityAuthority = $SitecoreIdentityAuthority
    XConnectCollectionService = $XConnectCollectionService
    ClientSecret = $ClientSecret
    AllowedCorsOrigins = $AllowedCorsOrigins
}

Push-Location $SCInstallRoot

Install-SitecoreConfiguration @singleDeveloperParams *>&1 | Tee-Object XP0-SingleDeveloper.log

# Uncomment the below line and comment out the above if you want to remove the XP0 SingleDeveloper Config
#Uninstall-SitecoreConfiguration @singleDeveloperParams *>&1 | Tee-Object XP0-SingleDeveloper-Uninstall.log

Pop-Location

我试过重新启动我的 IIS,但似乎没有用。如果需要其他信息,请告诉我。如果有人可以提供一些帮助,将不胜感激!谢谢!

【问题讨论】:

    标签: sql-server solr sitecore sitecore9


    【解决方案1】:

    您的安装设置似乎没问题。

    您可能已在 IIS 中停止了 Sitecore 的应用程序池/站点。如果您的 Sitecore Identity Server 站点不可用,则脚本无法启动您的 Sitecore 实例并完成安装过程。

    打开您的 IIS 并确保所有与 Sitecore 相关的应用程序池都已启动并且 Sitecore Identity Server 站点已启动并正在运行。

    【讨论】:

      猜你喜欢
      • 2021-10-22
      • 1970-01-01
      • 2021-04-24
      • 2021-10-01
      • 1970-01-01
      • 2022-10-09
      • 1970-01-01
      相关资源
      最近更新 更多