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...Error after ugrade from 4.9.5 to 5.3.1 Instance wide, no content will showError after ugrade from 4.9.5 to 5.3.1 Instance wide, no content will show
Previous
 
Next
New Post
4/10/2010 8:05 AM
 

Having the same issue.  Anyone find a sollution to this?

 

AssemblyVersion: 5.3.1
PortalID: 0
PortalName: Alpha Chi Rho National Fraternity, Inc.
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c50d8ea4-86d2-4d79-bea4-b02ab0aa9e35
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Modules.ModuleHost.RenderContents
StackTrace:
Message: 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.Modules.ModuleHost.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.portals__default_skins_flex___menu_1___red_h___no_banner___boxed_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: SKNET118

 
New Post
4/11/2010 9:37 PM
 

OK, this error is coming from something wrong with caching.  The error is coming from the Dotnetnuke.Library.UI.Modules.ModuleHost.vb file.  Here is the code with a modification to route around the offending code (the "And False" was added to make this if fail every time) and now everything works fine.   Since I knew the problem was with the caching, I re-installed to Module caching providers but that didn't change anything.   I tried turning off caching for the html module at the module definition by putting in -1 and that didn't change anything.  The if statement seems to succeed if the module merely supports caching and so it was always going into that code and some object was not getting set.

The odd thing is that on the host settings page on my install the Module Cache provider dropdown is empty which doesn't seem right.  I thought "repairing" by reinstalling those providers would have fixed that but the dropdown is still empty.

I hope someone on the core team can shed some light on this now that we have narrowed it down this far.  It appears multiple people on this forum are getting this error.  Thanks for your consideration on this issue.

Protected

Overrides Sub RenderContents(ByVal writer As System.Web.UI.HtmlTextWriter)If _IsCached Then

 

'Render the cached control to the output stream

 

 

MyBase.RenderContents(writer)Else

 

If SupportsCaching() AndAlso IsViewMode() AndAlso Not IsAdminControl() AndAlso False Then

 

'Render to cache

 

 

_Control.RenderControl(

_cachedOutput = tempWriter.ToString()

 

Dim _cachedOutput As String = Null.NullStringDim tempWriter As StringWriter = New StringWriterNew HtmlTextWriter(tempWriter))If Not String.IsNullOrEmpty(_cachedOutput) AndAlso (Not HttpContext.Current.Request.Browser.Crawler) Then

 

'Save content to cache

 

 

 

varyBy.Add(

 

cache.SetModule(_ModuleConfiguration.TabModuleID, cacheKey,

 

Dim moduleContent As Byte() = System.Text.Encoding.UTF8.GetBytes(_cachedOutput)Dim cache As ModuleCache.ModuleCachingProvider = ModuleCache.ModuleCachingProvider.Instance(_ModuleConfiguration.GetEffectiveCacheMethod)Dim varyBy As New System.Collections.Generic.SortedDictionary(Of String, String)"locale", System.Threading.Thread.CurrentThread.CurrentCulture.ToString)Dim cacheKey As String = cache.GenerateCacheKey(_ModuleConfiguration.TabModuleID, varyBy)New TimeSpan(0, 0, _ModuleConfiguration.CacheTime), moduleContent)End If

 

'Render the cached content to Response

writer.Write(_cachedOutput)

 

Else

 

'Render the control to Response

 

 

MyBase.RenderContents(writer)End If

 

End If

 

End Sub

 

 

 
New Post
4/12/2010 10:33 AM
 

 That's great but where does that go? web.config file or elsewhere? 

 

peter

 
New Post
4/14/2010 9:33 AM
 
It goes in the above mentioned file which is available with the source distribution. Then you have to compile the code and copy the resulting dotnetnuke.dll file over your production one. It must be stressed this is only a workaround until the real caching problem can be identified and solved. I saw somewhere if you are at 5.1.x you are supposed to upgrade to 5.2.3 first and then up to 5.3.1 otherwise there may be an asp.net ajax caching problem. That might be one source of this problem, I don't know.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error after ugrade from 4.9.5 to 5.3.1 Instance wide, no content will showError after ugrade from 4.9.5 to 5.3.1 Instance wide, no content will show


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