Upgrade to 5.39 to 7.1 stalled out with Admin section.
Our upgrade to 7.1 from 5.3900 was going OK until trying to log in to the admin section after the upgrade.
Upon logging in I get an error involving null references, there is one on the dashboard and when I try to look at the Analytics page. Both are similar and seem to point mainly at the Analytics module.
Message: HandlingInstanceID: 891a1894-d8de-461c-be6e-00e26da7ef96
An exception of type 'System.NullReferenceException' occurred and was caught.
-----------------------------------------------------------------------------
08/06/2014 15:38:46
Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
Message : Object reference not set to an instance of an object.
Source : Telerik.Sitefinity.Analytics.Server.Infrastructure
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void .ctor()
HResult : -2147467261
Stack Trace : at Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsPermissionsService..ctor()
at Telerik.Sitefinity.Analytics.Server.Infrastructure.Resources.Backend.AnalyticsView.ReRouteUser()
at Telerik.Sitefinity.Analytics.Server.Infrastructure.Resources.Backend.AnalyticsView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Additional Info:
MachineName :
TimeStamp : 8/6/2014 9:38:46 PM
FullName : Telerik.Sitefinity.Utilities, Version=7.1.5200.0, Culture=neutral, PublicKeyToken=
AppDomainName :
ThreadIdentity :
WindowsIdentity : IIS APPPOOL\??? (Sitefinity)
Requested URL : http://???/marketing/Analytics
Message: HandlingInstanceID: bfd75ab4-d358-4657-a2a7-328d20080b51
An exception of type 'System.NullReferenceException' occurred and was caught.
-----------------------------------------------------------------------------
08/06/2014 15:27:53
Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=
Message : Object reference not set to an instance of an object.
Source : Telerik.Sitefinity.Analytics.Server.Infrastructure
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : T Resolve[T]()
HResult : -2147467261
Stack Trace : at Telerik.Sitefinity.Analytics.Server.Core.DependencyResolution.IoC.Resolve[T]()
at Telerik.Sitefinity.Analytics.Server.Infrastructure.Web.UI.AnalyticsTimeline.AnalyticsTimelineDashboard.InitializeControls(GenericContainer container)
at Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Additional Info:
MachineName :
TimeStamp : 8/6/2014 9:27:53 PM
FullName : Telerik.Sitefinity.Utilities, Version=7.1.5200.0, Culture=neutral, PublicKeyToken=
AppDomainName :
ThreadIdentity :
WindowsIdentity : IIS APPPOOL\??? (Sitefinity)
Requested URL : http://???/Sitefinity/dashboard
The offenders seem to the Analytics and Dashboard modules. I can manually skip the dashboard screen by entering an alternate admin URL (eg. [site]/sitefinity/pages) and can even disable the modules from the UI and can then log in to the Dashboard screen.
I have tried re-initializing the dashboard and analytics modules by removing the version number from each and then re-starting the app (usual fix) but am still getting them.Hello Darcy,
From the information provided, it looks like the Analytics widget on your dashboard is causing this behavior, so I can advise you to reset your Analytics module by browsing ~/App_Data/Sitefinity/Configuration folder and delete both DashboardPermissions.config and AnalyticsConfiguration.config.
Resetting the Analytics application means that you will need to re-enter the credentials for your Google Analytics account.
Please do not forget to verify in ~/App_Data/Sitefinity/Logs/UpgradeTrace.log that there are no errors and all modules have been upgraded successfully.
Hope this helps.
Regards,
Vassil Vassilev
Telerik
Yes it was a combo of the two. After disabling them I was able to figure out the rest. I also had to remove some left behind old DLLs related to the analytics module.
After getting the rest up and running I was able to reinstall the new dashboard and analytics modules.