InvalidItemNameException when installing Active Commerce

Follow

Issue

When installing Active Commerce on certain Sitecore versions, or when the ItemNameValidation setting has been customized, you may receive the following error.

Exception: Sitecore.Exceptions.InvalidItemNameException 
Message: An item name must satisfy the pattern: ^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$ (controlled by the setting ItemNameValidation)

 

Cause

The Active Commerce installation package includes an item name which is not allowed by your current configuration.

 

Solution

Temporarily disable the ItemNameValidation configuration while installing Active Commerce by dropping the attached configuration file into App_Config/Include. Delete this configuration patch after installing.

Have more questions? Submit a request

Comments