I am getting the cast error while installing the Sitecore commerce 9.
Error:
Install-SitecoreConfiguration : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'SitecoreBizFxServicesContentPath'. Specified method is not supported. At C:\deploy\SIF.Sitecore.Commerce.1.2.14\Deploy-Sitecore-Commerce.ps1:80 char:32 + Install-SitecoreConfiguration @params + ~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Install-SitecoreConfiguration], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgument,Install-SitecoreConfiguration
SitecoreBizFxServicesContentPath = Resolve-Path -Path "..\Sitecore.BizFX.1.*"
. Change ..\ accordingly to your location. Also check whether you have folder together with zip file with same name. if so delete one of them. This error is usually caused by this as powershell thinks there are two objects with same name...