Fixing Tracker.Current is not initialized issue in Sitecore (v8.2)

I learning the Sitecore basics and installed the Sitecore (v8.2) website using the Sitecore Instance Manager. The site worked well and as expected. However, as soon as I change the page layout from Sample Layout to my custom MVC layout, it started throwing the error for Tracker.Current is not initialized.

To resolve this issue, I used Sitecore community where I found that many other developers like me have the similar issue and they provided different fixes which I tried but no luck for me.

Then, I performed the following steps and my site started working.

  1. Open the C:\inetpub\wwwroot\scplay1\website\app_config\include\Sitecore.Xdb.config file.
  2. Change <setting name=”Xdb.Tracking.Enabled” value=”true” /> to <setting name=”Xdb.Tracking.Enabled” value=”false” />.
  3. Refresh your page and it’s done!

I don’t know what’s wrong when you install the Sitecore site using Sitecore Instance Manager. I never get this issue when I installed the site using Sitecore installation executable.

Still, I have to find the actual cause of this issue and I’ll update my blog once I’ll find it.

Leave a Reply