Hello,
My site is DNN 7.4.2 . I was logged in as host and I was changing some resources. I clicked save, I got the normal green message that my resources were saved and then I hit the x (close) button on the pop up window. The site refreshed and I got an internal server error (!).
I accessed the site again (not logged in) and I accessed it just fine. Then I tried to login as host and the nightmare began.
Every time I login as host or admin I get an internal error. going through the log files I found the said exception:
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()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at DotNetNuke.Framework.ServiceLocator`2.get_Instance()
at DotNetNuke.UI.ControlPanels.ControlBar.LoadCustomMenuItems()
at DotNetNuke.UI.ControlPanels.ControlBar.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child)
at DotNetNuke.UI.Skins.Skin.InjectControlPanel()
at DotNetNuke.UI.Skins.Skin.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I only changed a resource of a module (for localization) which I have done a thousand times and everything exploded in my face. Now every time I try to login as host or admin I get this error, which means I have absolutely no access to edit my site's content. From the error I understand something is wrong when the page reloads and tries to "construct" the control bar? I'm not even sure at this point.
The website has heavy traffic but I checked the server memory and it is fine so it isn't due to memory issues. The resource files I changed are normal, nothing fishy there. And I have no idea where to look or what to do.