Surendra Sharma

Surendra Sharma

Search This Blog

Wednesday, September 11, 2019

Fixed : Access Issue while importing JSS app

If you are getting error when you fire Sitecore JSS command jss deploy app -c -d

Exception thrown while importing JSS app
Exception: Sitecore.Exceptions.AccessDeniedException
Message: AddFromTemplate - Add access required (destination: {0DE95AE4-41AB-4D01-9EB0-67441B7C2450}, template: {061CBA15-5474-4B91-8A06-17903B102B82})


Solution:-
 

Id "{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}" is for "/sitecore/content" while "{061CBA15-5474-4B91-8A06-17903B102B82}" is for "/sitecore/templates/Foundation/JavaScript Services/App".
 

Basically JssImport service unable to create item under "Content" item. So this is the permission problem.

To fix it, provide access to user "sitecore\JssImport" to "Sitecore\Content" and its descendant items as


Permission to user JssImport
Permission to user JssImport

 

Monday, September 9, 2019

Install Sitecore 7.2 on Windows 10

If you want to install Sitecore 7.2 on Windows 10 having Visual Studio 2019 and SQL Server 2017. Then you need to install "ASP.NET MVC 4" from https://www.microsoft.com/en-us/download/details.aspx?id=30683 .

Once MVC 4 is in place, you should be able to install, login and access Sitecore 7.2 content tree as

Sitecore 7.2
Sitecore 7.2




Friday, September 6, 2019

How to install Sitecore 9.0 with SIF 2.1.0

As you know to install Sitecore 9.0 , you need SIF 1.2.1. But with below modifications you can install Sitecore 9.0 with SIF 2.1.0 as well. For this

  • Modify xconnect-createcert.json -> Find the CreateRootCert task -> Change the StoreLocation from CurrentUser to LocalMachine
  • Modify xconnect-solr.json and sitecore-solr.json -> Find the CreateCores task in each file -> Change the "Name" attribute in Params > Action to lowercase "name".

So now with single SIF version 2.1.0, you can install 9.0 and 9.2 instance.

Thursday, September 5, 2019

Fixed - Failed to start service Sitecore XConnect Search Indexer

If you are installing Sitecore 9/9.1/9.2, you may get xConnect services error such as

Faulting application name: XConnectSearchIndexer.exe, version: 3.0.0.0, time stamp: 0xf3556d61
Faulting module name: KERNELBASE.dll, version: 10.0.18362.1, time stamp: 0x1a30e11b
Exception code: 0xe0434352
Fault offset: 0x000000000003a839
Faulting process id: 0x1dd8
Faulting application start time: 0x01d563cefdbb60d1
Faulting application path: C:\inetpub\wwwroot\habitathomecorporate_xconnect.dev.local\App_Data\jobs\continuous\IndexWorker\XConnectSearchIndexer.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: bee07631-f2fa-48b6-9307-b4296f68ff50
Faulting package full name:
Faulting package-relative application ID:


Solution :-

I follow below steps and its solved my issue
  • Close all PowerShell window
  • Remove any existing "DO_NOT_TRUST_SitecoreRootCert" certificate from your machine
  • Provide "Full Permission" to "Everyone" to folder "c:\resourcefiles"
  • Provide "Full Permission" to "Everyone" to folder "C:\inetpub\wwwroot.

Try again to install the Sitecore and you should get your instance up now.

I hope this solution helps other in similar situation.

Thursday, August 15, 2019

Why to upgrade Sitecore from 8.2 to 9.2

If you are running any Sitecore website in 8.x, then start to plan on its upgradation. 

Question is Why? 

Well, first thing is that mainstream support of Sitecore version 8.2 is going to end in 31st Dec 2019. However extended support will be avilable upto 31-Dec-2022. But remember there will be cost associated for providing any patch, hotfixes, DLL or development defects solution during this extended period by Sitecore.

Second MongoDB 3.4 is generally used for Sitecore 8.2 and bad news is that MongoDB 3.4 will also end its support in Jan 2020.

So I will suggest to all clients, sitecore license holders to upgrade their projects from 8.2 to latest version of Sitecore 9.2. Sitecore 9.2 comes with cutting-edge features.

Just a note Sitecore 9.2 Mainstream Support will be available upto 31st Dec 2022.

Wednesday, August 14, 2019

Certificate : Installing Sitecore XP0 9.2

Though not a big deal, but I have one hour of time and I utilize it to complete the course "Installing Sitecore® XP0 9.2" from Sitecore elearning.

Here is the certificate for the same.

 Installing Sitecore XP0 9.2
 Installing Sitecore XP0 9.2

Tuesday, August 13, 2019

Certificate : Fast-Track Design in Sitecore Experience Accelerator 9.2

Today I continue my SXA journey, completed the course "Fast-Track Design in Sitecore® Experience Accelerator 9.2" from Sitecore elearning.

Here is the certificate for the same.

Fast-Track Design in Sitecore® Experience Accelerator 9.2
Fast-Track Design in Sitecore® Experience Accelerator 9.2