Showing posts with label Sitecore Commerce installation. Show all posts
Showing posts with label Sitecore Commerce installation. Show all posts

Thursday, October 29, 2020

The login is from an untrusted domain and cannot be used with Windows authentication while installing Sitecore Commerce 9

 While installing Sitecore Commerce 9.2 had error on Bootstrap at "CommerceEngine-Initialize_BootStrapCommerceServices : BootStrapCommerceServices"

Sitecore Commerce Error in power shell

In Shops log file i could see the below error:

ERROR Message=SQL.GetDBVersion.Fail: Environment='GlobalEnvironment'|Message='Login failed for user 'abc\CSFndRuntimeUser'.'

at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)


Solution:
1. Get the IP address using cmd. Add IP address and system name to host file. Below is an example
    [11.022.11.4] [MachineName]

2. Add the account/username to “Access this computer from the network” local security policy             (secpol.msc) Then it got resolved.



Wishlist in Sitecore Commerce

In e-commerce, wishlist or saved products for later purchase is one of the important functionality. I have created simple plugin in sitecore...