Skip to main content

Sitecore commerce 8.2 | Installation Puzzles


The installation process of Sitecore 8 is very simple with SIM. But, installing Sitecore Commerce 8.2.1 is little complicated.

The sitecore has provided the detailed and step-by-step installation guide. The link for the same is http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html


While installing Sitecore Commerce 8.2.1, I struggled with some issues. I solved the installation puzzles related to Bootstrap, initialization and commerce website startup in IIS. Here are the challenges and solution for the same:

1. The created User "CSFndRuntimeUser" for the Sitecore Commerce Installation has the locale Admin-Rights and all MS SQL Server rights, But the installation fails regarding database connection and rights.

Solution: The user 
CSFndRuntimeUser must have SysAdmin rights in Sql Server.



2. The command http://localhost:5000/commerceops/Bootstrap() was not successful.

Solution: Make sure that sitecore instance is working on local. And, change the Sql server name in all JSON configuration files of Commerce server. 


3. The option "Import Product Catalog" is disabled.

Solution: Change the CatalogWebService authentication in IIS to Windows Authentication and disable all other authentications. In case, the Windows authentication is not appearing in IIS, then you need to enable in Windows Features.


4. The commerce website is not starting up in IIS.

Solution: The website runs on default port 80. Open "Task Manager" and check which other running application is using the same port. Check it's PID and stop that process. Now, start the application and it will run. 

5. Catalogs are not visible in Commerce Catalog Manager.


Commerce Catalog manager : Not showing catalogs



Troubleshooting steps: While troubleshooting, I have followed the give steps.
a. Recycle the app pool / Restart IIS
b. Open catalog authorization store using Authorization Manager (azman.msc), and check whether windows account has been added to CatalogAdministrator with administrator roles.
c. Check whether the main services site(CSServices) has been anonymous authentication enabled. 

Solution: To fix the same problem, I have followed the given steps.

  1. Log-on to the machine where you have Commerce Server installed
  2. Go to IIS, locate the Virtual Directory for CatalogWebService
  3. Click “Explore” – to open up the folder where the CatalogWebService files are placed
  4. CTRL + C the path of the folder to your Clipboard, e.g.:
    1. C:\inetpub\wwwroot\Explore.Storefront\Services\CSSolutionStorefrontsite_CatalogWebService
  5. Backup the existing “CatalogAuthorizationStore.xml”
  6. Open up a Power shell window
  7. Run the following command
    CreateCatalogAuthorizationStore.e
    xe CSSolutionStorefrontSite “C:\inetpub\CSservices\CSSolutionStorefrontsite_CatalogWebService\CatalogAuthorizationStore.xml” 

That’s it. You should now be able to show details of all products in the Catalog Manager


I hope that this information will be helpful during installation process and will save your time. 


Good Luck and enjoy Sitecore Commerce.



Comments

Popular posts from this blog

Remove F9 shortcut key for Site publishing

In Sitecore content editor, there is an option of using shortcut key (F9) for complete site publishing. It is not recommended to publish the complete site each and every time.  If your client is using F9 key most of time for publishing,then follow the given steps to disable it. 1. Locate file GlobalKeys.xml at pat h  /sitecore/shell/Controls/Applications/ and comment out the following line: <RegisterKey KeyCode="120" Click="system:publish"/> 2. Locate file Default.aspx at path  /sitecore/shell/Applications/Content Manager/  and comment out the following line: <sc:RegisterKey runat="server" KeyCode="120" Click="system:publish" /> Once you are done with the above two steps, please restart your IIS. The above steps will disable the F9 key shortcut for site publishing. Happy Coding.

Coveo Search setup & Configuration

This will explain installation of Cloud version of Coveo for Sitecore. This will cover the installation of Coveo for Sitecore Cloud into Sitecore instance and its related modules. Prerequisites A running instance of Sitecore ASP.Net MVC 4.0 or 5.0 installed on Sitecore server. ASP.Net MVC is one of the dependencies of Coveo for Sitecore. The MVC version should be appropriate as per Sitecore version. MVC To configure MVC while installing Sitecore, refer to  Sitecore MVC Developer's Reference Guide . If you have already installed Sitecore and you now want to enable MVC manually, refer to  Sitecore MVC Playground Part 1: Enable MVC . Installation Procedure Step 1 - Download Coveo for Sitecore https://www.coveo.com/en/solutions/coveo-for-sitecore/download Installation package of Coveo Enterprise Search Installation package for Coveo search API Installation package for Coveo for Sitecore License file for Coveo for Sitecore Make sure the the most recent...