我已正确安装DNN 7而没有任何错误,我还在dnndev.me网站上添加了一个子页面(testdemo)。它工作得很好,然后我添加了一个模块并将该模块添加到子页面(dnndev.me/testdemo)。我已经安装了皮肤,它也完美应用。 [还在portal / _default / skins文件夹中找到了]
接下来我编辑了模块[不是很大,只添加了带文字的标签框]并构建解决方案,然后在dnndev.me/testdemo页面中刷新它显示DNN错误
在地址标签中显示 -
http://dnndev.me/Default.aspx?tabid=482&error=An%20unexpected%20error%20has%20occurred&content=0
即使是正常的ddndev.me也没有运行显示相同的,
所以我打开了Portal / _default / logs文件,我发现了以下错误,
2014-08-01 13:03:57,333 [USER6-PC][Thread:40][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)
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)
2014-08-01 13:03:57,333 [USER6-PC][Thread:40][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=55&error=terminate
System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)
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)
2014-08-01 13:03:57,337 [USER6-PC][Thread:40][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)
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)
--- End of inner exception stack trace ---
仍然在顶部显示更多,但空间不足以粘贴所有..
任何人都可以解决这个问题吗?