Posts

Sitecore upgrade from 8.1 XP to 10.4 XM Scaled -Part 3

Image
 Continuation from Part 2 of upgrading from Sitecore 8.1 to 10.4, in this article we will see the issues faced during the upgrading of the 8.1 code to 10.4 Upgrade the solution projects to the .net 4.8 framework Upgrade the Sitecore Nuget packages to 10.4      Solr   We have received this below error while doing an upgrade to 10.4 The solution to this error: upgrade the SolrNet.dll nuget package from 0.4.0.2002 to 1.0.19.0 Upgrade Glass mapper Nuget packages to 10.4 In V5 the Glassmapper configuration is modified from the V4 version, In this new version we have different types of services to get the content from Sitecore. In 8.1 we will be using SitecoreContext to grab the content from Sitecore but in V5 we will be using the following to grab the content from Sitecore RequestContext MvcContext WebFormsContext We will be using MvcContext in the Asp.net MVC application, for other like Class libraries we will use RequestContext GlassController is now not availa...

Sitecore Upgrade from 8.1 XP to 10.4 XM Scaled - Part 1

Image
 I have seen many questions about upgrading Sitecore from 8.1 to 10.4. I will share my experience upgrading Sitecore with tips and tricks that will help the upgrade process go smoothly. This contains multiple parts to get started with the upgrade activity. Steps for Sitecore and Solution Upgrade Checklist Sitecore 8.1 Local instance setup with Solr and verification Sitecore 10.4 Code upgrade issues and resolution Steps for Sitecore and Solution Upgrade Checklist: Solution Upgrade Checklist:   Task Comments / Findings Comments 1 .Net 4.8 upgrade to all the projects in the solution   2 Install SQL Server 2022   3 .NET Core 6.0 Windows Hosting Bundle   4 Install Compatible Solr version for 8.1 and 10.4   5 Update the Nuget package of Sitecore from 8.1 to 10.4 ...

Sitecore upgrade from 8.1 XP to 10.4 XM Scaled -Part 2

Image
  Part 1  of this upgrade article  covered the checklist needed for performing the upgrade activity. In this blog, we will explore how to configure a local 8.1 instance that will be helpful for the developer to validate and play with it. One of the important things in this local setup is getting the prod database restored in the local SQL Server and updating the vanilla Sitecore 8.1 instance to point to this database by updating the connection string. Solr Setup: The easiest way to setup Solr for 8.1 is below Download the solr from  http://archive.apache.org/dist/lucene/solr/4.10.4/solr-4.10.4.zip Extract the files to C:\Program Files\solr-4.10.2 or any folder The default Solr does not have Sitecore cores, so download already created cores from  here Place all the download cores in the following folder C:\Program Files\solr-4.10.2\example\solr Open the Command prompt and navigate to this root Solr folder C:\Program Files\solr-4.10.2\bin and run solr start comma...