DeployCommerceDatabase: SQL Server Provider for Windows PowerShell is not installed.

I got the following error when running the DeployCommerceDatabase task during Experience Commerce 9 Update 2 installation: SQL Server Provider for Windows PowerShell is not installed. In order to fix this issue, I tried the following command in PowerShell to install the SqlServer PowerShell module: Install-Module -Name SqlServer However, this…

Sitecore Experience Commerce 9.0.2 Installation Error: Cannot convert 'System.Object[]' to the type 'System.String' required by parameter

I got the following error when running Deploy-Sitecore-Commerce.ps1: Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'SitecoreBizFxServicesContentPath'. After looking at the value for the 'SitecoreBizFxServicesContentPath' parameter in the deploy script, the only difference I could see was the path was not specifying a particular…

SIF PowerShell Validation Error when Skipping SXA Storefront Installation

I was setting up my Sitecore Experience Commerce 9.0.2 installation to install without SXA Storefront, following the instructions from the installation guide: Oddly, after copying the text from the installation guide, I get the following error: Turns out that copying and pasting the command (we always like shortcuts)…

How to Skip Tasks in Sitecore Installation Framework (SIF)

When installing the Sitecore Experience Platform or Sitecore Experience Commerce through Sitecore Installation Framework (SIF), often times you may run into errors mid way through the installation. When re-running the installation, there is a handy feature that allows you to skip certain installation tasks using the ‘Skip’ flag. Install-SitecoreConfiguration @params…

Sitecore Commerce InitializeEnvironment error: 'Failed to get connection for Sitecore'

After installing Sitecore Commerce 8.2.1 using the provided powershell scripts, the initialize environment command failed with the following error: localhost:5000/commerceops/InitializeEnvironment(environment='HabitatAuthoring') { "@odata.context":"http://localhost:5000/CommerceOps/$metadata#Commands/$entity", "@odata.type":"#Sitecore.Commerce.Core.Commands.InitializeEnvironmentCommand&…