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...Skins, Themes, ...Skins, Themes, ...Skins Administration Broke after ugradeSkins Administration Broke after ugrade
Previous
 
Next
New Post
11/28/2007 1:00 PM
 

I upgraded my DNN version to 4.7 and now when I go to Admin, Skins, I get the following error (has anyone else seen this):

Error: Skins is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Skins.SkinDefaults..ctor(SkinDefaultType DefaultType) at DotNetNuke.Common.Globals.get_DefaultSkin() at DotNetNuke.Modules.Admin.Skins.EditSkins.isFallbackSkin(String skinPath) at DotNetNuke.Modules.Admin.Skins.EditSkins.ProcessSkins(String strFolderPath) at DotNetNuke.Modules.Admin.Skins.EditSkins.ShowSkins() at DotNetNuke.Modules.Admin.Skins.EditSkins.LoadSkins() at DotNetNuke.Modules.Admin.Skins.EditSkins.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
12/1/2007 8:05 PM
 

What you could try is copying the skins folder from the 470 package over the Skins folder of you install (do make a backup before you do this).

Make sure you download a new package (can be the install packaget too) just to make sure that that is not the problem

 
New Post
12/17/2007 7:05 PM
 

What solved it in my case was to edit the "EditSkins.ascx.vb" located in the "admin > Skins"

Locate the following two functions inside the "Private Methods" Region

        Private Function isFallbackSkin(ByVal skinPath As String) As Boolean
            Dim strDefaultSkinPath As String = (Common.Globals.HostMapPath & SkinInfo.RootSkin +
DefaultSkin.Folder).Replace("/", "\")
            If strDefaultSkinPath.EndsWith("\") Then
                strDefaultSkinPath = strDefaultSkinPath.Substring(0, strDefaultSkinPath.Length - 1)
            End If
            Return skinPath.IndexOf(strDefaultSkinPath, StringComparison.CurrentCultureIgnoreCase) <> -1
        End Function

        Private Function isFallbackContainer(ByVal skinPath As String) As Boolean
            Dim strDefaultContainerPath As String = (Common.Globals.HostMapPath & SkinInfo.RootContainer +
DefaultSkin.Folder).Replace("/", "\")
            If strDefaultContainerPath.EndsWith("\") Then
                strDefaultContainerPath = strDefaultContainerPath.Substring(0, strDefaultContainerPath.Length - 1)
            End If
            Return skinPath.IndexOf(strDefaultContainerPath, StringComparison.CurrentCultureIgnoreCase) <> -1
        End Function

Replace the marked red text with: glbDefaultSkinFolder

 

 
New Post
12/27/2007 7:32 AM
 

its works by my. thx

 
New Post
12/23/2008 7:55 PM
 

Thanks dude you rock! That worked for me too!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skins Administration Broke after ugradeSkins Administration Broke after ugrade


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