1

Receiving this error during the install. Any idea what needs to be done? Thanks in advance.

Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.
At C:\Projects\XC92 Deploy\MyDeploy-Sitecore-Commerce.ps1:93 char:1
+ Install-SitecoreConfiguration @params -ErrorAction Continue *>&1 | Te ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:17:09
Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.
At C:\projects\XC92 Deploy\Modules\InitializeCommerce\InitializeCommerce.psm1:101 char:5
+     Invoke-RestMethod $UrlCommerceShopsServicesBootstrap -TimeoutSec  ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
5
  • check your commerce engine service logs and see what error is there? i got same issue on my local machine and solved it by disabling redis caching and compression in commerce engine config file. – Vipin Banka Oct 11 '19 at 2:20
  • The log has this error: BootStrapping Commerce Services: commerceshops.sc9.com/commerceops/Bootstrap() Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.At MyDeploy-Sitecore-Commerce.ps1:93 char:1 + Install-SitecoreConfiguration @params -ErrorAction Continue *>&1 | Te CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration. Redis section seems clear in the log. to try your solution: Which file and section do I edit? – vbgp Oct 15 '19 at 13:22
  • New to commerce so would appreciate the location of the file and the key/value used to disable redis caching and compression. Thank you @Vipin – vbgp Oct 15 '19 at 13:33
  • look into your CommerceShops\wwwroot\logs folder and find out error in logs, for settings look into CommerceShops\wwwroot\config.json file, restart app pool after changing the settings, also change same settings in other commerce engine roles and restart their app pools as well. – Vipin Banka Oct 16 '19 at 3:27
  • When I try to access commerceshops.sc9.com I get following error: An error occurred while starting the application. .NET Framework 4.8.3752.0 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846 | Microsoft Windows 10.0.18362 | Need help? – vbgp Oct 17 '19 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.