Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Error appears browsing Commerce site when set up via the latest VS extension

Found in

EPiServer.Commerce 10.4.3

Fixed in

EPiServer.Commerce 10.5.1

(Or a related package)

Created

Apr 03, 2017

Updated

Apr 24, 2017

State

Closed, Fixed and tested


Description

This bug does not happen with the previous VS extension version.

Steps to reproduce

  1. Install the EPiServer.VsIntegration.Package.10.1.0.240_Core 10.6.0_UI 10.7.1.vsix (VS 2017).
  2. Create a new EPiServer site.
  3. Install Commerce to the new site.
  4. The error below appears during installation, but it is still successful.

Adding Commerce baseline configuration

epideploy.exe :

At C:\EPiServer\COMMERCE105\packages\EPiServer.Commerce.Core.10.5.0-pre-002302\tools\Install.ps1:59 char:9

+ & $deployEXEPath -s $sitePath -a config -p $commerceConfigBaselinePath

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:String) [], RemoteException

+ FullyQualifiedErrorId : NativeCommandError

EPiDeploy was stopped due to an exception, more details:

Microsoft.Web.XmlTransform.XmlNodeException: No element in the source document matches '/configuration/system.webServer/handlers/add[@name='ReportingHttpHandler']'

at Microsoft.Web.XmlTransform.XmlTransformationLogger.LogErrorFromException(Exception ex

)

at Microsoft.Web.XmlTransform.XmlTransformation.Apply(XmlDocument xmlTarget)

at EPiDeploy.Config.ConfigTransformer.Execute(IEnumerable`1 files)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Common.Executor.Execute(ILocation location)

at EPiDeploy.Deploy.Execute(Options options, ILocation startPosition)

at EPiDeploy.Deploy.Run(Options options)

at EPiDeploy.Program.Main(String[] args)

Successfully installed 'EPiServer.Commerce.Core 10.5.0-pre-002302' to FRONT

  1. Update DB
  2. Browse site
    --> [Exception: The catalog configuration could not be found.]
    Mediachase.Commerce.Catalog.CatalogContext.EnsureCatalogConfigurationExists() +78
    Mediachase.Commerce.Catalog.CatalogContext..cctor() +113