I've tried section (d) from this blog: https://himadritechblog.wordpress.com/2018/03/10/yet-another-sitecore-commerce-9-installation-blog-post/
And this blog: https://naveed-ahmad.com/2018/02/25/sitecore-experience-commerce-xc9-troubleshooting-your-installation/
I am using I tried changing the connection string to DESKTOP-XXXXX\MSSQLSERVER and to DESKTOP-XXXXX\SQLEXPRESS16. I've installed Sitecore 9.0.2 with $SqlAdminUser = "sc90" and $SqlAdminPassword="admin". I tried adding User Id="sc90" and Password="admin" but I still get the same error.
Please share a solution if you have one. Thanks!
I get the following error:
[-------------------------------- InitializeCommerceEngine : InstallSitecoreConfiguration ----------------------------]
Transcript started, output file is C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\CommerceEngine.Initialize.18
0802 (4).log
************************************
Sitecore Install Framework
Version - 1.2.1
************************************
WorkingDirectory : C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14
LogPath : C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\CommerceEngine.Initialize.180802 (4).log
WhatIf : False
Verbose : SilentlyContinue
Configuration : C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce\CommerceEngine\Comm
erceEngine.Initialize.json
Debug : SilentlyContinue
WarningAction : Continue
ErrorAction : Stop
InformationAction : Continue
Importing Module => InitializeCommerce
[----------------------------------- DisableCsrfValidation : DisableCsrfValidation -----------------------------------]
[---------------------------------------- GetIdServerToken : GetIdServerToken ----------------------------------------]
Get Token From Sitecore.IdentityServer
Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.
At C:\Program
Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21
+ & $entry.Task.Command @paramSet | Out-Default
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
[TIME] 00:00:06
Transcript stopped, output file is C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\CommerceEngine.Initialize.180802 (4).log
Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.
At C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\MyDeploy-Sitecore-Commerce.ps1:80 char:2
+ Install-SitecoreConfiguration @params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
[TIME] 00:00:11
Transcript stopped, output file is C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\Master_SingleServer.180802 (5).log
Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.
At C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\Modules\InitializeCommerce\InitializeCommerce.psm1:73
char:17
+ ... $response = Invoke-RestMethod $UrlIdentityServerGetToken -Method Post ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand