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...Upgrade from 5.5 to 6.0.1 gives NullReferenceException on default.aspx loadUpgrade from 5.5 to 6.0.1 gives NullReferenceException on default.aspx load
Previous
 
Next
New Post
9/19/2011 8:58 AM
 
Hi everyone,

I'm sure this there is an easy fix/workaround for this:

I've upgraded sucessfully (i.e. no errors from the upgrade process) from 5.5 to 6.0.1. However when I go to the home page I get:

[NullReferenceException: Object reference not set to an instance of an object.] 
DotNetNuke.UI.Skins.Controls.ModuleMessage.OnPreRender(EventArgs e) +44
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

My guess is that the "bind" skin is not 6.0.1 compatible and its screwed up somewhere on redering.

Can I tweak the database tables to go back to a default skin?

Cheers,

C.
 
New Post
9/19/2011 10:10 AM
 
I've tried removing the "bind gloss" folder from the folder Portals/_default/Skins, but no change in resulting error.

C.
 
New Post
9/20/2011 6:34 AM
 
Also removed the following:

UPDATE PortalSettings
SET [SettingValue] = NULL
WHERE [SettingName] IN (N'DefaultAdminContainer',N'DefaultAdminSkin',N'DefaultPortalContainer',N'DefaultPortalSkin')
AND [PortalID] = 0

UPDATE TabModules
SET [ContainerSrc] = NULL
WHERE NOT [ContainerSrc] IS NULL

UPDATE Tabs
SET [SkinSrc] = NULL, [ContainerSrc] = NULL
WHERE [PortalID] = 0

No change.

Anyone see what I've missed? (I only have 1 portal - 0)
 
New Post
9/20/2011 7:08 AM
 
Found some new v6 tables......

http://dotnetnukeru.com/Dnn6Docs/db/DotNetNuke/table_dboSkinPackages.htm

Clearing those too:

delete from skins
where skinpackageid in (
select skinpackageid from skinpackages
where packageid in (102, 100, 125, 126))

delete from packages
where packageid in (102, 100, 125, 126)

delete from skinpackages
where packageid in (102, 100, 125, 126)

Which didnt work either.

I'm now going back to backup and forgetting about v6.

I'm sure this and others like it will be a common issue when upgrading non compatible skins.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade from 5.5 to 6.0.1 gives NullReferenceException on default.aspx loadUpgrade from 5.5 to 6.0.1 gives NullReferenceException on default.aspx load


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