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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Why is skinningdefaults missing?Why is skinningdefaults missing?
Previous
 
Next
New Post
6/22/2008 11:50 PM
 

Why is the <skinningdefaults> section still missing from the default DotNetNuke.config file in both the install and source zips?? 

I have lost count of the number of times that an install has apparently worked, only to find that none of the admin pages work because it doesnt know what the default skin is!  Why is there functionality that depends on a certain config section being present when that config section is not included?

The missing section is

<skinningdefaults>
<skininfo folder="/DNN-Blue/" default="Horizontal Menu - Fixed Width.ascx" admindefault="Horizontal Menu - Fixed Width.ascx" />
<containerinfo folder="/DNN-Blue/" default="Image Header - Color Background.ascx" admindefault="Image Header - Color Background.ascx" />
</skinningdefaults>


The error message is also very unhelpful and the only reason why I am able to fix it quickly is that I have seen it so many times ... I pity the poor newbie installer who comes upon this error message:

 

Server Error in '/DotNetNuke' Application.

Object reference not set to an instance of an object.

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.UI.Skins.SkinDefaults..ctor(SkinDefaultType DefaultType) +189
DotNetNuke.Common.Globals.get_DefaultSkin() +31
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +2797
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +82
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3303
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
6/23/2008 2:18 AM
 

I feel your pain.  I recently participated in a discussion on this topic here.  Several people were apparently having this problem.

Originally I just assumed it would happen on my installations because I often did not give write access across the install root and DNN was failing silently.  But I'm going to assume that since it's happening with some frequency to others that this might not be the case.

I'll log this as an issue in Gemini sometime in the next few days.  The error could really stand to be handled a little better.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
6/24/2008 10:28 AM
 

I have logged this issue in Gemini, located here, at least with respect to a more helpful error message.  I still have no idea if the underlying error itself is due to a configuration problem at the user's end, or with DNN itself.

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Why is skinningdefaults missing?Why is skinningdefaults missing?


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