I am getting the cast error while installing the Sitecore commerce 9.


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

  • Welcome to SSE community Sai Raj. Can you make sure the path you provided in 'SitecoreBizFxServicesContentPath' is pointing to a specific file, else you can also pass folder name with the version number rather using the wildcard. Aug 28, 2018 at 12:48
  • I would recommend setting this attribute in your ps1 script like this: 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... Aug 28, 2018 at 14:05
  • Thanks, AmitabhVyas, PeterProchazka, The Solution worked fine for me. Changed value SitecoreBizFxServicesContentPath = Resolve-Path -Path "..\Sitecore.BizFX.1.*" to SitecoreBizFxServicesContentPath = Resolve-Path -Path "..\Sitecore.BizFX.1.2.19"
    – Sai Raj R
    Aug 28, 2018 at 14:30

1 Answer 1


I had run into similar issue. Check the path value for the parameter SitecoreBizFxServicesContentPath and then check the version you have for the zip file. And then change the wildcard to full path to the zip file to resolve. Path as in the Installation script

The file name

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.