Guest User

Untitled

a guest
Aug 1st, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.51 KB | None | 0 0
  1. [---------------------------------------------------------------------------------------------------------------------- InstallModule : InstallModule
  2. ----------------------------------------------------------------------------------------------------------------------] Installing module: Sitecore Commerce ExperienceAnalytics Core
  3. 11.2.83.zip http://sxa.storefront.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Commerce ExperienceAnalytics Core 11.2.83.zip
  4. ********************** Command start time: 20180801112334
  5. ********************** PS>TerminatingError(Invoke-RestMethod): "
  6.  
  7.  
  8. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  9.  
  10.  
  11. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  12. p {font-family:"Verdana";font-weight:normal;color:black;margin-top:
  13. -5px}
  14. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  15. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  16. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  17. pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  18. .marker {font-weight: bold; color: black;text-decoration: none;}
  19. .version {color: gray;}
  20. .error {margin-bottom: 10px;}
  21. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  22. @media screen and (max-width: 639px) {
  23. pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  24. }
  25. @media screen and (max-width: 479px) {
  26. pre { width: 280px; }
  27. }
  28.  
  29.  
  30.  
  31.  
  32.  
  33. Server Error in '/' Application.
  34.  
  35. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  36.  
  37.  
  38.  
  39. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  40.  
  41.  
  42.  
  43. Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  44.  
  45. Source Error:
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. Line 52: context.AddAspect<IFileInstallerEvents>(events); Line 53: Line 54: new Installer().InstallPackage(package, context); Line 55: Line 56: // Execute Post Step
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Source File: c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx &nbsp;&nbsp; Line: 54
  61.  
  62.  
  63. Stack Trace:
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. [AggregateException: One or more exceptions occurred while processing the subscribers to the &#39;item:saved&#39; event.] Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848 Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390 Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294 System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0 Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135 Sitecore.Data.Engines.EngineCommand`2.Execute() +202 Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229 Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98 (Object , Object ) +14 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484 Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127 Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126 Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28 Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)
  71. +343 Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126 Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)
  72. +1304 Sitecore.Install.Items.ItemInstaller.Flush() +156 Sitecore.Install.Framework.SinkDispatcher.Flush() +102 Sitecore.Install.Utils.EntrySorter.Flush() +228 Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565 Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80 Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)
  73. +444 Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72 ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  74. +4082
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85. Version Information:&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0
  86.  
  87.  
  88.  
  89.  
  90.  
  91. "
  92. >> TerminatingError(Invoke-RestMethod): "
  93.  
  94.  
  95. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  96.  
  97.  
  98. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  99. p {font-family:"Verdana";font-weight:normal;color:black;margin-top:
  100. -5px}
  101. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  102. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  103. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  104. pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  105. .marker {font-weight: bold; color: black;text-decoration: none;}
  106. .version {color: gray;}
  107. .error {margin-bottom: 10px;}
  108. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  109. @media screen and (max-width: 639px) {
  110. pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  111. }
  112. @media screen and (max-width: 479px) {
  113. pre { width: 280px; }
  114. }
  115.  
  116.  
  117.  
  118.  
  119.  
  120. Server Error in '/' Application.
  121.  
  122. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  123.  
  124.  
  125.  
  126. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  127.  
  128.  
  129.  
  130. Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  131.  
  132. Source Error:
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139. Line 52: context.AddAspect<IFileInstallerEvents>(events); Line 53: Line 54: new Installer().InstallPackage(package, context); Line 55: Line 56: // Execute Post Step
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147. Source File: c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx &nbsp;&nbsp; Line: 54
  148.  
  149.  
  150. Stack Trace:
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. [AggregateException: One or more exceptions occurred while processing the subscribers to the &#39;item:saved&#39; event.] Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848 Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390 Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294 System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0 Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135 Sitecore.Data.Engines.EngineCommand`2.Execute() +202 Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229 Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98 (Object , Object ) +14 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484 Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127 Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126 Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28 Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)
  158. +343 Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126 Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)
  159. +1304 Sitecore.Install.Items.ItemInstaller.Flush() +156 Sitecore.Install.Framework.SinkDispatcher.Flush() +102 Sitecore.Install.Utils.EntrySorter.Flush() +228 Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565 Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80 Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)
  160. +444 Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72 ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  161. +4082
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172. Version Information:&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0
  173.  
  174.  
  175.  
  176.  
  177.  
  178. " Install-SitecoreConfiguration :
  179.  
  180.  
  181. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  182.  
  183.  
  184. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  185. p {font-family:"Verdana";font-weight:normal;color:black;margin-top:
  186. -5px}
  187. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  188. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  189. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  190. pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  191. .marker {font-weight: bold; color: black;text-decoration: none;}
  192. .version {color: gray;}
  193. .error {margin-bottom: 10px;}
  194. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  195. @media screen and (max-width: 639px) {
  196. pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  197. }
  198. @media screen and (max-width: 479px) {
  199. pre { width: 280px; }
  200. }
  201.  
  202.  
  203.  
  204.  
  205.  
  206. Server Error in '/' Application.
  207.  
  208. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  209.  
  210.  
  211.  
  212. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  213.  
  214.  
  215.  
  216. Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  217.  
  218. Source Error:
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225. Line 52: context.AddAspect<IFileInstallerEvents>(events); Line 53: Line 54: new Installer().InstallPackage(package, context); Line 55: Line 56: // Execute Post Step
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233. Source File: c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx &nbsp;&nbsp; Line: 54
  234.  
  235.  
  236. Stack Trace:
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. [AggregateException: One or more exceptions occurred while processing the subscribers to the &#39;item:saved&#39; event.] Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848 Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390 Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294 System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0 Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135 Sitecore.Data.Engines.EngineCommand`2.Execute() +202 Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229 Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98 (Object , Object ) +14 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484 Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127 Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126 Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28 Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)
  244. +343 Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126 Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)
  245. +1304 Sitecore.Install.Items.ItemInstaller.Flush() +156 Sitecore.Install.Framework.SinkDispatcher.Flush() +102 Sitecore.Install.Utils.EntrySorter.Flush() +228 Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565 Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80 Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)
  246. +444 Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72 ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  247. +4082
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258. Version Information:&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. At C:Program FilesWindowsPowerShellModulesSitecoreInstallFramework1.2.1PublicInstall-SitecoreConfiguration.ps1:253 char:21
  266. + & $entry.Task.Command @paramSet | Out-Default
  267. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  268. + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
  269. + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration Install-SitecoreConfiguration :
  270.  
  271.  
  272. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  273.  
  274.  
  275. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  276. p {font-family:"Verdana";font-weight:normal;color:black;margin-top:
  277. -5px}
  278. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  279. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  280. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  281. pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  282. .marker {font-weight: bold; color: black;text-decoration: none;}
  283. .version {color: gray;}
  284. .error {margin-bottom: 10px;}
  285. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  286. @media screen and (max-width: 639px) {
  287. pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  288. }
  289. @media screen and (max-width: 479px) {
  290. pre { width: 280px; }
  291. }
  292.  
  293.  
  294.  
  295.  
  296.  
  297. Server Error in '/' Application.
  298.  
  299. One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  300.  
  301.  
  302.  
  303. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  304.  
  305.  
  306.  
  307. Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.
  308.  
  309. Source Error:
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. Line 52: context.AddAspect<IFileInstallerEvents>(events); Line 53: Line 54: new Installer().InstallPackage(package, context); Line 55: Line 56: // Execute Post Step
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. Source File: c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx &nbsp;&nbsp; Line: 54
  325.  
  326.  
  327. Stack Trace:
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. [AggregateException: One or more exceptions occurred while processing the subscribers to the &#39;item:saved&#39; event.] Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848 Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390 Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294 System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0 Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135 Sitecore.Data.Engines.EngineCommand`2.Execute() +202 Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229 Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98 (Object , Object ) +14 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484 Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127 Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126 Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28 Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)
  335. +343 Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126 Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)
  336. +1304 Sitecore.Install.Items.ItemInstaller.Flush() +156 Sitecore.Install.Framework.SinkDispatcher.Flush() +102 Sitecore.Install.Utils.EntrySorter.Flush() +228 Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565 Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80 Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)
  337. +444 Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72 ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootwebsitename.webSiteUtilityPagesInstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  338. +4082
  339.  
  340. Version Information:&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0
  341.  
  342. At C:Program FilesWindowsPowerShellModulesSitecoreInstallFramework1.2.1PublicInstall-SitecoreConfiguration.ps1:253 char:21
  343. + & $entry.Task.Command @paramSet | Out-Default
  344. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  345. + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
  346. + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
  347.  
  348. [TIME] 00:02:16
  349. ********************** Windows PowerShell transcript end End time: 20180801112337
  350. **********************
  351.  
  352. #Requires -Version 3
  353. param(
  354. [string]$SiteName = "websitename.web",
  355. [string]$SiteHostHeaderName = "sxa.storefront.com",
  356. [string]$SqlDbPrefix = $SiteName,
  357. [string]$CommerceSearchProvider = "SOLR"
  358. )
  359.  
  360. $global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path
  361. $modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "Modules" )
  362. if ($env:PSModulePath -notlike "*$modulesPath*")
  363. {
  364. $p = $env:PSModulePath + ";" + $modulesPath
  365. [Environment]::SetEnvironmentVariable("PSModulePath",$p)
  366. }
  367.  
  368.  
  369. $params = @{
  370. Path = Resolve-Path '.ConfigurationCommerceMaster_SingleServer.json'
  371. SiteName = $SiteName
  372. SiteHostHeaderName = $SiteHostHeaderName
  373. InstallDir = "$($Env:SYSTEMDRIVE)inetpubwwwroot$SiteName"
  374. XConnectInstallDir = "$($Env:SYSTEMDRIVE)inetpubwwwroot$($SiteName)_xconnect"
  375. CertificateName = $SiteName
  376. CommerceServicesDbServer = $($Env:COMPUTERNAME) #OR "SQLServerNameSQLInstanceName"
  377. CommerceServicesDbName = "SitecoreCommerce9_SharedEnvironments"
  378. CommerceServicesGlobalDbName = "SitecoreCommerce9_Global"
  379. SitecoreDbServer = $($Env:COMPUTERNAME) #OR "SQLServerNameSQLInstanceName"
  380. SitecoreCoreDbName = "$($SqlDbPrefix)_Core"
  381. SitecoreUsername = "sitecoreadmin"
  382. SitecoreUserPassword = "b"
  383. CommerceSearchProvider = $CommerceSearchProvider
  384. SolrUrl = "https://localhost:8983/solr"
  385. SolrRoot = "C:sitecoresolr-6.6.2"
  386. SolrService = "solr6"
  387. SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "SolrSchemas" )
  388. SearchIndexPrefix = ""
  389. AzureSearchServiceName = ""
  390. AzureSearchAdminKey = ""
  391. AzureSearchQueryKey = ""
  392. CommerceEngineDacPac = Resolve-Path -Path "..Sitecore.Commerce.Engine.SDK.*Sitecore.Commerce.Engine.DB.dacpac"
  393. CommerceOpsServicesPort = "5015"
  394. CommerceShopsServicesPort = "5005"
  395. CommerceAuthoringServicesPort = "5000"
  396. CommerceMinionsServicesPort = "5010"
  397. SitecoreCommerceEngineZipPath = Resolve-Path -Path "..Sitecore.Commerce.Engine.2.2.126.zip"
  398. SitecoreBizFxServicesContentPath = Resolve-Path -Path "..Sitecore.BizFX.1.2.19"
  399. SitecoreIdentityServerZipPath = Resolve-Path -Path "..Sitecore.IdentityServer.1.*.zip"
  400. CommerceEngineCertificatePath = Resolve-Path -Path "..websitename9.local.cer"
  401. SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "SiteUtilityPages" )
  402. HabitatImagesModuleFullPath = Resolve-Path -Path "..Sitecore.Commerce.Habitat.Images-*.zip"
  403. AdvImagesModuleFullPath = Resolve-Path -Path "..Adventure Works Images.zip"
  404. CommerceConnectModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Connect*.zip"
  405. CommercexProfilesModuleFullPath = Resolve-Path -Path "..Sitecore Commerce ExperienceProfile Core *.zip"
  406. CommercexAnalyticsModuleFullPath = Resolve-Path -Path "..Sitecore Commerce ExperienceAnalytics Core *.zip"
  407. CommerceMAModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Marketing Automation Core *.zip"
  408. CommerceMAForAutomationEngineModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Marketing Automation for AutomationEngine *.zip"
  409. CEConnectPackageFullPath = Resolve-Path -Path "..Sitecore.Commerce.Engine.Connect*.update"
  410. PowerShellExtensionsModuleFullPath = Resolve-Path -Path "..Sitecore.PowerShell.Extensions-4.7.2.zip"
  411. SXAModuleFullPath = Resolve-Path -Path "..Sitecore Experience Accelerator 1.7.1 rev. 180604 for 9.0.zip"
  412. SXACommerceModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Experience Accelerator 1.*.zip"
  413. SXAStorefrontModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Experience Accelerator Storefront 1.*.zip"
  414. SXAStorefrontThemeModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Experience Accelerator Storefront Themes*.zip"
  415. SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path "..Sitecore Commerce Experience Accelerator Habitat Catalog*.zip"
  416. MergeToolFullPath = Resolve-Path -Path "..MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3toolsVSToolsPathWebMicrosoft.Web.XmlTransform.dll"
  417. UserAccount = @{
  418. Domain = $Env:COMPUTERNAME
  419. UserName = 'CSFndRuntimeUser'
  420. Password = 'Pu8azaCr'
  421. }
  422. BraintreeAccount = @{
  423. MerchantId = ''
  424. PublicKey = ''
  425. PrivateKey = ''
  426. }
  427. SitecoreIdentityServerName = "SitecoreIdentityServer"
  428. }
  429.  
  430. if ($CommerceSearchProvider -eq "SOLR") {
  431. Install-SitecoreConfiguration @params
  432. }
  433. elseif ($CommerceSearchProvider -eq "AZURE"){
  434. Install-SitecoreConfiguration @params -Skip InstallSolrCores
  435. }
Add Comment
Please, Sign In to add comment