NullReferenceException: Object reference not set to an instance of an object.]
Last Post 01/12/2016 8:24 AM by Andy Stephenson DNN Creative. 1 Replies.
Author Messages Not Resolved
Oliver Hylton
Posts:


--
01/11/2016 12:29 PM  
Hi,

I upgraded my DNN website from version 4.9.5 to 5.4.4 but i keep getting the following error (from the stack trace) when i try to log in:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.UI.Skins.SkinController.GetDefaultPortalSkin() +19
DotNetNuke.Entities.Host.Host.get_DefaultPortalSkin() +59
DotNetNuke.Entities.Portals.PortalSettings.get_DefaultPortalSkin() +19
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +1400
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +100
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2170
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Any ideas? i am at my whits end.
Andy Stephenson DNN Creative
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:169


--
01/12/2016 8:24 AM  
Hi Oliver,

Based on the error message it seems that the problem is related to the DefaultPortalSkin. I suggest that you have a look at the "DefaultPortalSkin" row from the "PortalSettings" table and make sure it is filled with the path to a skin whihc is valid.

Something like "G]Skins/MinimalExtropy/index.ascx"

Sincerely,
Andy


---