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...Upgrading DNN P...Upgrading DNN P...Skin problem upgrading to DNN7.3.4 / asp.net 4Skin problem upgrading to DNN7.3.4 / asp.net 4
Previous
 
Next
New Post
1/2/2015 8:59 AM
 

Hello,

I have just upgraded a site to DNN 7.3.4 / asp.net 4. The skin is now failing to load (it was created a few years a go with artisteer). The error I am getting is 'Could not load skin, The server tag is not well formed'. From searching the internet it looks like this could be due to a syntax error in the .ascx file. I am no coder and have stared at the code for ages and can't spot anything. If anyone has a spare minute or two could they look below and see if they can spot anything or is there someway of finding out what line the error might be on - at the moment I can't get any useful info.

Many thanks for any help

Vicky

 

 

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>

<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/logo.ascx" %>

<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/login.ascx" %>

<%@ Register TagPrefix="dnn" TagName="USER" Src="~/Admin/Skins/user.ascx" %>

<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/breadcrumb.ascx" %>

<%@ Register TagPrefix="dnn" TagName="ARTMENU" Src="~/DesktopModules/ArtMenuSO/ArtMenuSO.ascx" %>

<%@ Register TagPrefix="dnn" TagName="STYLES" Src="~/Admin/Skins/Styles.ascx" %>

<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/admin/Skins/copyright.ascx" %>

<%@ Register TagPrefix="dnn" TagName="TERMS" Src="~/admin/Skins/terms.ascx" %>

<%@ Register TagPrefix="dnn" TagName="PRIVACY" Src="~/admin/Skins/privacy.ascx" %>

<%@ Register TagPrefix="dnn" TagName="TEXT" Src="~/admin/Skins/Text.ascx" %>

<%@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/admin/Skins/search.ascx" %>

 

<script runat="server">

 

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Me.Page.ClientScript.RegisterClientScriptInclude("script.js", Me.TemplateSourceDirectory & "/script.js")

    End Sub

    

    Private Function CollapseSidebars() As String

        Dim sb1 As Control = Me.FindControl("sidebar1")

        Dim sb2 As Control = Me.FindControl("sidebar2")

        

        If Not IsNothing(sb1) And Not IsNothing(sb2) Then

            If sb1.Controls.Count > 0 And sb2.Controls.Count = 0 Then

                Return "-sidebar2"

            ElseIf sb1.Controls.Count = 0 And sb2.Controls.Count > 0 Then

                Return "-sidebar1"

            ElseIf sb1.Controls.Count = 0 And sb2.Controls.Count = 0 Then

                Return "-wide"

            End If

        ElseIf Not IsNothing(sb1) And IsNothing(sb2) Then

            If sb1.Controls.Count = 0 Then

                Return "-wide"

            End If

        ElseIf IsNothing(sb2) And Not IsNothing(sb2) Then

            If sb2.Controls.Count = 0 Then

                Return "-wide"

            End If

        End If

        Return String.Empty

    End Function

</script>

 

<div id="art-main">

<div class="art-sheet">

    <div class="art-sheet-tl"></div>

    <div class="art-sheet-tr"></div>

    <div class="art-sheet-bl"></div>

    <div class="art-sheet-br"></div>

    <div class="art-sheet-tc"></div>

    <div class="art-sheet-bc"></div>

    <div class="art-sheet-cl"></div>

    <div class="art-sheet-cr"></div>

    <div class="art-sheet-cc"></div>

    <div class="art-sheet-body">

        <div id="ControlPanel" runat="server"></div>

        <div class="art-header">

    <div class="art-header-jpeg">

       <div id="loginlinks">

        

          <dnn:USER runat="server" id="dnnUSER" CssClass="OtherLinks" />&nbsp;|&nbsp;<dnn:LOGIN runat="server" id="dnnLOGIN" CssClass="OtherLinks" />

         <br /><br /><br /><br /><dnn:SEARCH runat="server" id="dnnSEARCH" ShowSite="false" ShowWeb="false" /><br />

 

       </div>

     </div>

</div>

 

<dnn:ARTMENU ID="ArtMenu1" ShowHiddenTabs="False" ShowAdminTabs="True" ShowDeletedTabs="False" ShowLoginTab="False" ShowUserTab="False" runat="server" />

 

 

<div id="TopPane" visible="false" runat="server"></div>

      <table class="position" width="100%" cellpadding="0" cellspacing="0" border="0">

        <tr valign="top">

          <td width="33%" id="Top1" runat="server"></td>

          <td width="33%" id="Top2" runat="server"></td>

          <td id="Top3" runat="server"></td>

        </tr>

      </table><div class="art-content-layout">

    <div class="art-content-layout-row">

<div class="art-layout-cell art-content<%= CollapseSidebars() %>">

<div class="art-post">

    <div class="art-post-body">

<div class="art-post-inner art-article">

<div class="art-postcontent">

    <!-- article-content -->

<dnn:TEXT runat="server" id="dnnTEXT" Text="You are here >" ResourceKey="Breadcrumb" /> <dnn:BREADCRUMB ID="dnnBREADCRUMB" RootLevel="0" Separator="&nbsp;>&nbsp;" runat="server" />

    <!-- /article-content -->

</div>

<div class="cleared"></div>

 

</div>

 

<div class="cleared"></div>

    </div>

</div>

 

 

<div id="Banner1" visible="false" runat="server"></div>

<table class="position" width="100%" cellpadding="0" cellspacing="0" border="0">

        <tr valign="top">

          <td width="50%" id="User1" runat="server"></td>

          <td id="User2" runat="server"></td>

        </tr>

      </table>

<div id="Banner2" visible="false" runat="server"></div>

<div id="ContentPane" runat="server"></div>

<div id="Banner3" visible="false" runat="server"></div>

<table class="position" width="100%" cellpadding="0" cellspacing="0" border="0">

        <tr valign="top">

          <td width="50%" id="User3" runat="server"></td>

          <td id="User4" runat="server"></td>

        </tr>

      </table>

<div id="Banner4" visible="false" runat="server"></div>

</div>

<div class="art-layout-cell art-sidebar1">

<div id="sidebar1" visible="true" runat="server"></div>

</div>

 

    </div>

</div>

<div class="cleared"></div>

<table class="position"  align="center" cellpadding="0" cellspacing="0" border="0">

        <tr valign="top">

<td width="2%" >&nbsp;</td>

          <td width="24%" id="Bottom1" runat="server"></td>

          <td width="24%" id="Bottom2" runat="server"></td>

          <td width="24% id="Bottom3" runat="server"></td>

          <td width="24% id="Bottom4" runat="server"></td>

<td width="2%" >&nbsp;</td>

        </tr>

      </table>

      <div id="BottomPane" visible="false" runat="server"></div><div class="art-footer">

    <div class="art-footer-inner">

        <div class="art-footer-text">

<p><dnn:TERMS runat="server" ID="dnnTerms" />

    | <dnn:PRIVACY ID="dnnPrivacy" runat="server" /><br />

    <dnn:COPYRIGHT runat="server" id="dnnCopyright" /></p>

 

        </div>

    </div>

    <div class="art-footer-background"></div>

</div>

 

<div class="cleared"></div>

    </div>

</div>

<div class="cleared"></div>

 

 

</div>

 

 

<dnn:STYLES runat="server" ID="style" Name="style" StyleSheet="style.css" UseSkinPath="true" />

<dnn:STYLES runat="server" ID="styleIE6" Name="styleIE6" Condition="IE 6" StyleSheet="style.ie6.css" UseSkinPath="true" />

<dnn:STYLES runat="server" ID="styleIE7" Name="styleIE7" Condition="IE 7" StyleSheet="style.ie7.css" UseSkinPath="true" />


 

 

 

 

 
New Post
1/2/2015 11:09 AM
 
You might try removing the Artiseer menu and see if that works. I can't see anything that sticks out in the code you provided, but there is a lot there to try and sift through.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
1/2/2015 2:29 PM
 
Hi,
Thank you for the reply - I tried removing the menu, but the problem remained.
I have now systematically removed and then reintroduced each section of the file - the problem is now fixed by removing the section

<table class="position"  align="center" cellpadding="0" cellspacing="0" border="0">

        <tr valign="top">

<td width="2%" >&nbsp;</td>

          <td width="24%" id="Bottom1" runat="server"></td>

          <td width="24%" id="Bottom2" runat="server"></td>

          <td width="24% id="Bottom3" runat="server"></td>

          <td width="24% id="Bottom4" runat="server"></td>

<td width="2%" >&nbsp;</td>

        </tr>

      </table>

Everything appears to function now - hope this helps someone :)
Thanks again
Vicky

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Skin problem upgrading to DNN7.3.4 / asp.net 4Skin problem upgrading to DNN7.3.4 / asp.net 4


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