Visual Studio 2015 + Framework 4.5 + Nuget Package Manager控制台+通过命令安装Umbraco7(Install-Package uCommerce.Umbraco7“)=出现以下错误:
Unable to index into an object of type System.Xml.XPathNodeList.
At E:\ShopKart\packages\uCommerce.Umbraco7.8.0.0.18352\tools\install.ps1:59 char:129
+ $perRequestLifestyleHttpModulesElement = $webConfig.SelectNodes("//system.web//httpModules//add[@name='PerRequestLifestyle']")[
<<<< 0]
+ CategoryInfo : InvalidOperation: (0:Int32) [], RuntimeException
+ FullyQualifiedErrorId : CannotIndex
答案 0 :(得分:0)
该软件包不包含Umbraco 7,而是包含UCommerce for Umbraco 7:-/试试安装软件包UmbracoCms吗?