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  |  

PortalWebHosting
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Getting an error and thought I would try this forum - need a skinning expert to solve this one.
Previous Previous
 
Next Next
New Post 7/7/2008 1:54 PM
Resolved
User is offline Richard Mueller
14 posts
rjmueller.com
10th Ranked


Getting an error and thought I would try this forum - need a skinning expert to solve this one. 

I have a site that is working perfectly and does everything right except one thing.

When you log in as host or administrator and try to go to the Skins page, I get this error, "Object reference not set to an instance of an object. ". 

Some details of the error are below.  It is almost like I am missing a skin or something but no matter what I do, I just can't fix this one.  Has anyone run across this or have any ideas?

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:

Line 52: 
Line 53:         Private Function isFallbackSkin(ByVal skinPath As String) As Boolean
Line 54:             Dim strDefaultSkinPath As String = (Common.Globals.HostMapPath & SkinInfo.RootSkin + DefaultSkin.Folder).Replace("/", "\")
Line 55:             If strDefaultSkinPath.EndsWith("\") Then
Line 56:                 strDefaultSkinPath = strDefaultSkinPath.Substring(0, strDefaultSkinPath.Length - 1)

Source File: C:\HOME\notary\DnnSites\notaries2008prod.com\Admin\Skins\EditSkins.ascx.vb    Line: 54

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.Modules.Admin.Skins.EditSkins.isFallbackSkin(String skinPath) in C:\HOME\notary\DnnSites\notaries2008prod.com\Admin\Skins\EditSkins.ascx.vb:54
   DotNetNuke.Modules.Admin.Skins.EditSkins.ProcessSkins(String strFolderPath) in C:\HOME\notary\DnnSites\notaries2008prod.com\Admin\Skins\EditSkins.ascx.vb:255
   DotNetNuke.Modules.Admin.Skins.EditSkins.ShowSkins() in C:\HOME\notary\DnnSites\notaries2008prod.com\Admin\Skins\EditSkins.ascx.vb:77
   DotNetNuke.Modules.Admin.Skins.EditSkins.LoadSkins() in C:\HOME\notary\DnnSites\notaries2008prod.com\Admin\Skins\EditSkins.ascx.vb:187
   DotNetNuke.Modules.Admin.Skins.EditSkins.Page_Load(Object sender, EventArgs e) in C:\HOME\notary\DnnSites\notaries2008prod.com\Admin\Skins\EditSkins.ascx.vb:558

 
New Post 7/7/2008 2:08 PM
User is offline Mike Horton
3174 posts
dnn.gmss.org
4th Ranked






Re: Getting an error and thought I would try this forum - need a skinning expert to solve this one. 

You could try some of the fixes that users in this thread tried. For some they worked. http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/182301/scope/posts/threadpage/1/Default.aspx

 
New Post 7/7/2008 5:58 PM
User is offline Richard Mueller
14 posts
rjmueller.com
10th Ranked


Re: Getting an error and thought I would try this forum - need a skinning expert to solve this one. 

Mike, I owe you one on this one.  I found the problem and it worked.  The problem was missing code in the dotnetnuke.config file as the post you sent explained.  I added back in the missing code and it fixed it.  Thanks for the help.  I knew it was somthing simple but I was tearing my hair out trying to find it.  Hours and hours of searching and voila, fixed in a minute.  Thanks again.  Rich

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Getting an error and thought I would try this forum - need a skinning expert to solve this one.
 


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.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

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