To whom it may concern
I have just updated my DNN version 5 to version 7.4.3 without any errors, but when I login as host I receive a DNN error page including Return to Site button, I've tested non admin user logins without any issues. I'm presuming it's something to do with the ControlBar so I've changed it back to RibbonBar and managed to login, then I get the same error page when trying to access the Host or Admin Settings pages. Can you confirm if this is a known issue? I've included the Event Viewer error as follows:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 17/06/2016 04:38:35
Event time (UTC): 17/06/2016 03:38:35
Event ID: 51435ab0cbdf4083ae1f0c735e23c5b1
Event sequence: 123
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/5/ROOT-1-131106082958964459
Trust level: Full
Application Virtual Path: /
Application Path: D:\Websites\StudentCoaching2016\
Machine name: DSVR022908
Process information:
Process ID: 1272
Process name: w3wp.exe
Account name: IIS APPPOOL\ASP.NET v4.0
Exception information:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]()
at DotNetNuke.Framework.ServiceLocator`2.InitInstance()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at DotNetNuke.UI.ControlPanels.ControlBar.LoadCustomMenuItems() in d:\Websites\StudentCoaching2016\admin\ControlPanel\ControlBar.ascx.cs:line 204
at DotNetNuke.UI.ControlPanels.ControlBar.OnInit(EventArgs e) in d:\Websites\StudentCoaching2016\admin\ControlPanel\ControlBar.ascx.cs:line 127
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.UI.Skins.Controls.ControlPanel.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) in d:\Websites\StudentCoaching2016\Default.aspx.cs:line 748
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Could not load file or assembly 'FileHelpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3e0c08d59cc3d657' or one of its dependencies. The system cannot find the file specified.
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable)
at System.Reflection.CustomAttribute.IsDefined(RuntimeType type, RuntimeType caType, Boolean inherit)
at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.IsPartDiscoverable()
at System.ComponentModel.Composition.AttributedModel.AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable(Type type, ICompositionElement origin)
at System.ComponentModel.Composition.Hosting.TypeCatalog.get_PartsInternal()
at System.ComponentModel.Composition.Hosting.TypeCatalog.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at DotNetNuke.ExtensionPoints.SafeDirectoryCatalog..ctor(String directory)
at DotNetNuke.ExtensionPoints.ExtensionPointManager.get_MefCompositionContainer()
at DotNetNuke.ExtensionPoints.ExtensionPointManager.ComposeParts(Object[] attributeParts)
at DotNetNuke.Web.Components.Controllers.ControlBarController..ctor()
Request information:
Request URL: http://2016.studentcoaching.co.uk/Default.aspx
Request path: /Default.aspx
User host address: 203.184.61.88
User: host3
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\ASP.NET v4.0
Thread information:
Thread ID: 9
Thread account name: IIS APPPOOL\ASP.NET v4.0
Is impersonating: False
Stack trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]()
at DotNetNuke.Framework.ServiceLocator`2.InitInstance()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at DotNetNuke.UI.ControlPanels.ControlBar.LoadCustomMenuItems() in d:\Websites\StudentCoaching2016\admin\ControlPanel\ControlBar.ascx.cs:line 204
at DotNetNuke.UI.ControlPanels.ControlBar.OnInit(EventArgs e) in d:\Websites\StudentCoaching2016\admin\ControlPanel\ControlBar.ascx.cs:line 127
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.UI.Skins.Controls.ControlPanel.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) in d:\Websites\StudentCoaching2016\Default.aspx.cs:line 748
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
Thanks for your help, it's great fully appreciated. The existing website has lots of users with subscriptions so ideally i don't wish to rebuild the site from scratch.
Kind regards
Phil