Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  Why is skinningdefaults missing?
Previous Previous
 
Next Next
New Post 6/22/2008 9:50 PM
Unresolved
User is offline JK
351 posts
www.bestwebsites.co.nz
8th Ranked


Why is skinningdefaults missing? 
Modified By JK  on 6/22/2008 11:55: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 55 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post 6/23/2008 12:18 AM
User is offline Brandon Haynes
705 posts
brandonhaynes.org
7th Ranked


Re: Why is skinningdefaults missing? 

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 8:28 AM
User is offline Brandon Haynes
705 posts
brandonhaynes.org
7th Ranked


Re: Why is skinningdefaults missing? 

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 Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  Why is skinningdefaults missing?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Verndale - Web Development, Support, Hosting
Since 1998, Verndale has helped hundreds of emerging and midsize businesses maximize the value and reach of their web assets with a comprehensive offering of strategy, design, development, search marketing and support services.
www.verndale.com
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP