• Not Answered

When trying to Enable Sitecore Analytics (Standalone), we are getting the below error. Please help in resolving the issue.

34452 02:26:16 ERROR Cannot create tracker.

Exception: System.Reflection.TargetInvocationException

Message: Exception has been thrown by the target of an invocation.

Source: mscorlib

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)

   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)

   at Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode)

   at Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode)

   at Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters)

   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)

   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)

   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.<>c__DisplayClass4_0.<Run>b__0()

   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.<>c__DisplayClass1_0.<Monitor>b__0()

   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)

   at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()

   at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)

   at (Object , Object[] )

   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)

   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)

   at Sitecore.Analytics.Tracker.Initialize()

 

Nested Exception

 

Exception: System.TypeInitializationException

Message: The type initializer for 'Sitecore.Analytics.DataAccess.Dictionaries.KnownDataDictionaries' threw an exception.

Source: Sitecore.Analytics

   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureDevice..ctor()

 

Nested Exception

 

Exception: Sitecore.Exceptions.ConfigurationException

Message: Could not create instance of type: Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig. No matching constructor was found.

Source: Sitecore.Kernel

   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)

   at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)

   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)

   at Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode)

   at Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode)

   at Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters)

   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)

   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)

   at Sitecore.Analytics.DataAccess.Pipelines.InitializeKnownDataDictionaries.InitializeKnownDataDictionariesProcessor.Process(InitializeKnownDataDictionariesArgs args)

   at (Object , Object[] )

   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)

   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)

   at Sitecore.Analytics.DataAccess.Pipelines.InitializeKnownDataDictionaries.InitializeKnownDataDictionariesPipeline.Run(InitializeKnownDataDictionariesArgs args)

   at Sitecore.Analytics.DataAccess.Dictionaries.KnownDataDictionaries..cctor()

 

 

 

34452 02:26:16 ERROR Cannot start tracking.

Exception: System.InvalidOperationException

Message: Tracker.Current is not initialized

Source: Sitecore.Analytics

   at Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args)

   at (Object , Object[] )

   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)

   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.<>c__DisplayClass1_0.<Monitor>b__0()

   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)

   at Sitecore.Mvc.Analytics.Pipelines.MvcEvents.RequestBegin.StartTracking.Process(RequestBeginArgs args)