Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Critical Error on loading a page.Critical Error on loading a page.
Previous
 
Next
New Post
10/4/2016 3:46 PM
 
Hi,

Site works perfectly. Every two or three days, I get a critical error and no modules load. Just restarting the application or clearing the cache does not resolve the critical error issue.

Clicking stay in edit mode, lets me access a modules settings menu. After accessing modules menu and clicking update, things work again.

I did rasie a ticket with the skin guys (Porto 3), but they think the error is someting to do with, ASP.desktopmodules_html_htmlmodule_ascx.SetUpForDnn8.

The associated event logs are below (5 events):

checkbox10/4/2016 5:43:15 PMPage Load Exception steven.mcfadyen@myelectrical.com myCableEngineering.com AbsoluteURL /Default.aspx DefaultDataProvider DotNetNuke.Data.SqlDataProvi
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:4d9eace5-82bb-4f7d-a878-a5d44ba50b12
AssemblyVersion:8.0.2
PortalId:0
UserId:2
TabId:90
RawUrl:/dashboard
Referrer:http://mycableengineering.com/admin/logviewer
UserAgent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
ExceptionHash:ZVlE6jKzMU1K7QofgfPnAQ==
Message:Object reference not set to an instance of an object.
StackTrace:
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at System.Object.GetType()
at ASP.desktopmodules_html_htmlmodule_ascx.SetUpForDnn8(Boolean value)
at ASP.desktopmodules_html_htmlmodule_ascx.IsTokenizationEnabled()
at ASP.desktopmodules_html_htmlmodule_ascx. (EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: RD0003FF7BDEFF

checkbox10/4/2016 5:43:15 PMGeneral Exception steven.mcfadyen@myelectrical.com myCableEngineering.com AbsoluteURL /Default.aspx DefaultDataProvider DotNetNuke.Data.SqlDataProvi
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:60cc27d3-db93-42b7-bc6e-cc8919c7dedf
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:z0ytBw7+Ah7GQFnewSeLOg==
Message:Unable to cast object of type 'System.Boolean' to type 'System.String'.
StackTrace:
at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.<>c__DisplayClass13_0.b__0(ParameterMapping mapping)
at DotNetNuke.Collections.CollectionExtensions.ForEach[TType](IEnumerable`1 source, Action`1 action)
at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.Load(CacheItemArgs args)
at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
InnerMessage:
InnerStackTrace:
Source:DotNetNuke
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: RD0003FF7BDEFF

checkbox10/4/2016 5:43:15 PMGeneral Exception steven.mcfadyen@myelectrical.com myCableEngineering.com AbsoluteURL /Default.aspx DefaultDataProvider DotNetNuke.Data.SqlDataProvi
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:005b3ead-6cf9-4e8f-9a4b-932bf11b613f
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:umy1Bn+XVRJ1/HQLAxE8/g==
Message:Unhandled Error Adding Module to TopRightSidebarOuter.
StackTrace:
at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)
at DotNetNuke.UI.Skins.Skin.InjectModule(Pane pane, ModuleInfo module)
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at System.Object.GetType()
at ASP.desktopmodules_html_htmlmodule_ascx.SetUpForDnn8(Boolean value)
at ASP.desktopmodules_html_htmlmodule_ascx.IsTokenizationEnabled()
at ASP.desktopmodules_html_htmlmodule_ascx.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content)
at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at DotNetNuke.UI.Containers.Container.get_ModuleControl()
at DotNetNuke.UI.Containers.Container.ProcessModule()
at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)
Source:DotNetNuke
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: RD0003FF7BDEFF

checkbox10/4/2016 5:43:15 PMGeneral Exception steven.mcfadyen@myelectrical.com myCableEngineering.com AbsoluteURL /Default.aspx DefaultDataProvider DotNetNuke.Data.SqlDataProvi
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:b4084add-9149-46a1-be6a-d1fc6b88b6fc
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:qQLdPN8E9hqATouWpG1mVQ==
Message:Object reference not set to an instance of an object.
StackTrace:
at System.Object.GetType()
at ASP.desktopmodules_html_htmlmodule_ascx.SetUpForDnn8(Boolean value)
at ASP.desktopmodules_html_htmlmodule_ascx.IsTokenizationEnabled()
at ASP.desktopmodules_html_htmlmodule_ascx.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content)
at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at DotNetNuke.UI.Containers.Container.get_ModuleControl()
at DotNetNuke.UI.Containers.Container.ProcessModule()
at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)
InnerMessage:
InnerStackTrace:
Source:mscorlib
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: RD0003FF7BDEFF

checkbox10/4/2016 5:43:15 PMGeneral Exception steven.mcfadyen@myelectrical.com myCableEngineering.com AbsoluteURL /Default.aspx DefaultDataProvider DotNetNuke.Data.SqlDataProvi
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:3a248762-c15f-462b-b409-1b8b77b036a6
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:z0ytBw7+Ah7GQFnewSeLOg==
Message:Unable to cast object of type 'System.Boolean' to type 'System.String'.
StackTrace:
at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.<>c__DisplayClass13_0.b__0(ParameterMapping mapping)
at DotNetNuke.Collections.CollectionExtensions.ForEach[TType](IEnumerable`1 source, Action`1 action)
at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.Load(CacheItemArgs args)
at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
InnerMessage:
InnerStackTrace:
Source:DotNetNuke
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: RD0003FF7BDEFF
 
New Post
10/4/2016 4:55 PM
 
it could be a module setting with a value of wrong type, you should check associated rows in modulesettings and tabmodulesettings table.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/5/2016 6:23 AM
 
Sebastian,

Thanks for the reply.

I have looked in the tables you suggested, but to be honest, I have no idea what I should be looking for. Please, could you provide a little more guidance for me?

Regards,
Steven
 
New Post
10/6/2016 7:03 PM
 
Steven,
you first need to filter on the moduleID / tabmoduleID in question and check for settings values, which should be boolean ("True" or "False"), but contain a different text.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/7/2016 5:26 AM
 
Sebastian,

Thanks for your help.

I have tried your suggestion (copy of what I did below). The only value to me that looks at though it could be true/false and isn't is Journal_Filters. I'm not sure if I should change this or not.

Do you have any other thoughts?

Regards,
Steven

USE [mycableengineering]

/* try to find the tab id */
Select TabID, PortalID, TabName, ParentID, TabPath FROM Tabs Where TabName like '%dashboard%'

/* there are two id's. User the first '90', for PortalID 0. Not sure where the second comes from */
/* check tabModule settings */
Select TabMOduleSettings.TabModuleID, SettingName, SettingValue from TabModuleSettings
Join TabModules On TabModuleSettings.TabModuleID = TabModules.TabModuleID
Where TabModules.TabID = 90

/* check tabModule settings */
Select ModuleSettings.ModuleID, SettingName, SettingValue from ModuleSettings
Join TabModules On ModuleSettings.ModuleID = TabModules.ModuleID
Where TabModules.TabID = 90


TabID PortalID TabName ParentID TabPath
------------------------------------------------------------------------
145 NULL dashboard 7 //Host//Dashboard
90 0 dashboard NULL //dashboard

(2 row(s) affected)

TabModuleID SettingName SettingValue
----------- ----------------------------------------------------------------
108 AllowIndex True
108 hideadminborder False
150 AllowIndex True
150 hideadminborder True
263 AllowIndex True
263 hideadminborder False
264 AllowIndex True
370 AllowIndex True
371 AllowIndex True

(9 row(s) affected)

ModuleID SettingName SettingValue
----------- ----------------------------------------------------------------
419 AllowIndex True
419 hideadminborder False
419 HtmlText_ReplaceTokens True
419 HtmlText_SearchDescLength 100
419 HtmlText_UseDecorate True
419 MyTokensReplace True
419 TEXTHTML_ReplaceTokens True
419 WorkflowID 1
461 AllowIndex True
461 hideadminborder True
461 HtmlText_ReplaceTokens False
461 HtmlText_SearchDescLength 100
461 HtmlText_UseDecorate True
461 MyTokensReplace False
461 TEXTHTML_ReplaceTokens False
461 WorkflowID 1
573 AllowIndex True
573 hideadminborder False
573 Journal_AllowFiles True
573 Journal_AllowPhotos True
573 Journal_AllowResizePhotos False
573 Journal_EditorEnabled False
573 Journal_Filters
573 Journal_MaxCharacters 250
573 Journal_PageSize 20
574 AllowIndex True
574 HtmlText_ReplaceTokens False
574 HtmlText_SearchDescLength 100
574 HtmlText_UseDecorate True
574 MyTokensReplace False
574 TEXTHTML_ReplaceTokens False
574 WorkFlowID 1
679 HtmlText_ReplaceTokens False
679 HtmlText_SearchDescLength 100
679 HtmlText_UseDecorate True
679 WorkFlowID 1
680 AllowIndex True
680 HtmlText_ReplaceTokens False
680 HtmlText_SearchDescLength 100
680 HtmlText_UseDecorate True
680 MyTokensReplace False
680 TEXTHTML_ReplaceTokens False
680 WorkFlowID 1

(43 row(s) affected)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Critical Error on loading a page.Critical Error on loading a page.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out