Forum


HomeHomePremiumPremiumDevelopmentDevelopmentDNN UpgradeDNN Upgrade
Previous
 
Next
New Post
6/19/2016 11:37 PM
 

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

 
New Post
7/12/2016 8:25 AM
 

HI Phil,

Sorry that I haven't approved this message before. We had some email delivery problems with the site recently.

Is this still a relevant problem for you?

Thank you,

Aderson

 
New Post
7/12/2016 1:07 PM
 

Hi Aderson, 

I would appreciate your feedback with this as to rebuild the website from scratch with a new install of DNN will take sometime. I have also encountered a similar issue using after adding Tag Manager script to the siteanalytics.config file, this website has not been fixed yet and I'm waiting on feedback from the developer. 

Thanks

Phil 

 
New Post
7/13/2016 6:14 AM
 

Hi Phil,

I haven't come across this problem before but I found 2 links which may have the solution:

- http://www.dnnsoftware.com/answers/could-not-load-file-or-assembly-filehelpers

- http://www.dnnsoftware.com/forums/threadid/492545/scope/posts/threadpage/3/upgrading-to-712

Best regards,

Aderson

 
New Post
7/27/2016 12:56 PM
 

Thank you Aderson, those links helped me resolve the issue and saved a huge amount of time. 

I have another request if possible, can you suggest a good module that allows users to upload and only view their personal files? I'm working for a possum control company in New Zealand and they would like to allow land owners the ability to upload health and safety documents and maps.

Thanks again for you support

 

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentDNN UpgradeDNN Upgrade



Try FREE
30 days money back guaranteed