Application Access Denied error when viewing the Tracking field


Description

When browsing items in the Content Editor using a non-administrator account and having Standard Fields enabled, the following error may be shown inside the Tracking field control. This error also gets added to Sitecore log files.

Exception: Sitecore.Exceptions.AccessDeniedException
Message: Application access denied.
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.HasAccess(Boolean accessAllowed, String message)
at Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Solution

Grant the current user access to the following item from the Core database:
/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Analytics - View/Details

Solution 2

  1. Place the Sitecore.Support.355595.dll assembly in the “/bin” folder.
  2. Modify the “/Website/sitecore/shell/Applications/Analytics/TrackingField/TrackingFieldDetails.xaml.xml” file. Replace this line:
    inherits="Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage,Sitecore.Client"
    with this one:
    inherits="Sitecore.Support.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage,Sitecore.Support.355595"