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...Upgrading DNN P...Upgrading DNN P...Text/HTML is currently unavailable errorText/HTML is currently unavailable error
Previous
 
Next
New Post
8/3/2011 12:19 PM
 
Hi, all!
I've just upgraded DNN to 6.0 and no errors occurred during upgrade.
Everything works fine except for pages with Html-modules.
The stack trace is following:


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

[No relevant source lines]


Source File: c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dotnetnuke\d46533f7\d58ea7f1\App_Web_zvknib5k.2.cs    Line: 0

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) +675

[ModuleLoadException: Error: Text/HTML is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +409

[PageLoadException: Error: Text/HTML is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +421
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc) +96
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +541
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +189
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc) +40
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +5
   DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) +824
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

[PageLoadException: Error: Text/HTML is currently unavailable.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +421
   DotNetNuke.Framework.PageBase. (EventArgs e) +623
   System.Web.UI.Page.HandleError(Exception e) +86
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8422
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dotnetnuke\d46533f7\d58ea7f1\App_Web_zvknib5k.2.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Any help would be appreciated

 
New Post
8/6/2011 10:24 AM
 
please check the admin->event viewer and see if an error is logged there (it should be as ProcessModuleLoadException appears in the stack trace)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/11/2011 12:15 PM
 
Hi, all!
I've just upgraded DNN to 6.0 and no errors occurred during upgrade, but after the update occurred the following errors when editing HTML modules:
---------------------------------------------------------------
Error: is currently unavailable.DotNetNuke.Services.Exceptions.ModuleLoadException: Value of '12/31/9999 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'. Parameter name: SelectedDate ---> System.ArgumentOutOfRangeException: Value of '12/31/9999 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'. Parameter name: SelectedDate at Telerik.Web.UI.RadDatePicker.set_SelectedDate(Nullable`1 value) at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindData() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.OnLoad(EventArgs e) --- End of inner exception stack trace ---
---------------------------------------------------------------
I am grateful for all the help I can get.
Greeting ToNico - tonico@tonico.no
 
New Post
8/11/2011 3:57 PM
 
please post a copy of your UpdateHtmlText stored procedure, at a guess id say that's wrong and not setting createdata to getdate()

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/11/2011 10:15 PM
 
Hey Dan_Ko,

I am having the same problem. Did you find the solution? I upgraded to DNN 6 and get the same error when using the HTML module.

Thanks!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Text/HTML is currently unavailable errorText/HTML is currently unavailable error


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