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...Administration ...Administration ...ctlSkin.ID = "dnn" HELP !ctlSkin.ID = "dnn" HELP !
Previous
 
Next
New Post
1/7/2008 5:23 AM
 

 

 

 

 

 

Hello Guys,

I update a local local community website and I am running out of ideas. The following error occurred and I can not seem to find a solution, there have been no major changes to the site only the deletion of an unused page. The site was working fine then 24 hours later the error just appeared can any one please give any advice or point me in the right direction as the site has been down for 3 weeks now.  

 

Thanks



Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 491:
Line 492:            ' set skin id to an explicit short name to reduce page payload and make it standards compliant
Line 493:            ctlSkin.ID = "dnn"
Line 494:
Line 495:            ' add CSS links

Source File: C:\webroot1\Duncanario\Duncan\westdp.co.uk\www\Default.aspx.vb    Line: 493

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in C:\webroot1\Duncanario\Duncan\westdp.co.uk\www\Default.aspx.vb:493
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Page.OnInit(EventArgs e) +9
   DotNetNuke.Framework.PageBase.OnInit(EventArgs e) +108
   System.Web.UI.Control.InitRecursive(Control namingContainer) +321
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

[PageLoadException: Object reference not set to an instance of an object.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +366
   DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +378
   System.Web.UI.TemplateControl.OnError(EventArgs e) +2085460
   System.Web.UI.Page.HandleError(Exception e) +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7341
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +29
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
New Post
1/7/2008 10:49 AM
 

It looks like it can't find the skin for the page and/or also the default skin. Check to make sure you have skins in the /portals/_default/skins folder, also check the /portals/0/skins folder.

 

 



Richard Edwards
www.dnnstuff.com
Quality DotNetNuke Modules, Unrivaled Support (since 2004)
All 6 modules for as low as $49
 
New Post
1/7/2008 12:08 PM
 

Hi Richard

I deleted the skins via ftp and then uploaded the skins just incase any of the skins where corrupt. I am using a different colored skin for each section of the site. Still no joy.

Any other suggestions as I will end up losing over 4 months of work.
 

 

 
New Post
1/9/2008 5:30 PM
 

I can't think of anything else. If that error is coming up, it's because ctrlSkin is nothing. You can see a sample of the code here, http://www.koders.com/vb.net/fidC176E82B4C78403E21E14FCF39E96B3ACD65F38C.aspx?s=ctlSkin.ID+%3d+%22dnn%22, go down to line 518 in this instance. You'll see up at line 504 that if it's nothing it tries to load the default admin skin (if it's an admin type page) or the default skin if it's a regular user page. It it's erroring where yours is then it's either not finding those or not able to load them for some other reason, perhaps security etc.

 



Richard Edwards
www.dnnstuff.com
Quality DotNetNuke Modules, Unrivaled Support (since 2004)
All 6 modules for as low as $49
 
New Post
1/29/2008 6:47 AM
 

Hi,

I received the same problem when I made a minor change in the skin.

The skin is there, it gives me the same error when I try to use the DNN Blue skin (btw there are 2 parent portals and I log from the second and am able to change the skins for the first portal via Host -> Portals).

I even uploaded the skin and container in the Portal/0/Skins(Containers respectively) although I've asigned them through host and it should be looking for them in Portals/_default/

Any idea on what could be the problem?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...ctlSkin.ID = "dnn" HELP !ctlSkin.ID = "dnn" HELP !


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