3

I have installed sitecore commerce on my local machine.I have also added Tenant and SXA Site.

Everything worked fine until i encountered with an issue when i click on the site, i am getting the following error when i click on the site node.

Error Value cannot be null. Parameter name: siteInfo

enter image description here

  • What is your stacktrace? – Joost Sep 13 at 9:56
3

To fix this, Verify following are set up correctly

  1. Valid SXA licence is present
  2. Make sure the host name in /sitecore/content/Sitecore/Storefront/Settings/Site Grouping/Storefront is correctly configured to the web site you are browsing the sitecore in.
  3. Make sure the template of the home item is inheriting the home page configuration template. enter image description here
  • Yes, In my case it was wrong licence file.I have replaced it and it worked. – matt publo Oct 13 at 1:57
0

This kind of error comes only in few scenarios like below.

  1. Expired/Corrupted/Wrong Sitecore License.
  2. Wrong configurations in Sitecore SXA site-manager and site grouping.
  3. If you patch something wrong in SiteDefinition.config file.
  4. Or Site order is wrong in Multisite settings.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.