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 ...Installing new skin generates error - Default.aspxInstalling new skin generates error - Default.aspx
Previous
 
Next
New Post
4/1/2006 5:40 PM
 

After I installed my skin, I am getting a 404 page not found error. when I look at the URL, I see this:

......tabid=83&error=The+Controls+collection+cannot+be+modified+because+the+control+contains+code+blocks+(i.e.+%3c%25+...+%25%3e).&content=0

Any ideas why am I getting this?

Thanks.

Oliver

 
New Post
4/1/2006 6:02 PM
 

Yes I think it could be because where you have copied and pasted information you have no spaces between something.. eg..look for something that looks like this - <tdalign="top">  which should be <td align="top"> 

Please note - I am only using that as an example to show you what could create this error.

It's just an ugly way to tell you - your code isn't able read properly.

... or.. maybe becuase it's 9am Sunday morning here, and I'm thinking off the top of my head.. check you actually have a ContentPane attribute in the skin because if that's missing, then it has now where to put the modules and throws an error. But since I know both of these things, I know how to fix them and know that it's one or the other that's doing this..

Does that make sense?

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
4/2/2006 10:13 AM
 

Well, I triple checked eveything and couldn't find anything out of the ordinary. Here is the .ascx content:

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Register TagPrefix="dnn" TagName="SOLPARTMENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/Admin/Skins/Search.ascx" %>
<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/BreadCrumb.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="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>
<%@ Register TagPrefix="dnn" TagName="PRIVACY" Src="~/Admin/Skins/Privacy.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TERMS" Src="~/Admin/Skins/Terms.ascx" %>
<link href="/portals/_default/skins/greenhillslandscaping-default/css/greenhillsinc.css" rel="stylesheet" type="text/css">
<table width="750" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
  <td>
   <table width="750" height="243" border="0" cellpadding="0" cellspacing="0">
    <tr>
     <td width="295" rowspan="8">
      <img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice1.jpg" width="295" height="243" alt=""></td>
     <td width="145" height="97">
      <a href="http://www.somedomain.com/tabid/67/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice2.jpg" alt="" width="145" height="97" border="0"></a></td>
     <td width="310" rowspan="8">
      <img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice3.jpg" width="310" height="243" alt=""></td>
    </tr>
    <tr>
     <td height="17">
      <a href="http://www.somedomain.com/tabid/88/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice4.jpg" alt="Click here to go to residential services" width="145" height="17" border="0"></a></td>
    </tr>
    <tr>
     <td height="17">
      <a href="http://www.somedomain.com/tabid/89/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice5.jpg" alt="Click here to go to commercial services" width="145" height="17" border="0"></a></td>
    </tr>
    <tr>
     <td height="17">
      <a href="http://www.somedomain.com/tabid/90/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice6.jpg" alt="Go here to go to irrigation" width="145" height="17" border="0"></a></td>
    </tr>
    <tr>
     <td height="17">
      <a href="http://www.somedomain.com/tabid/91/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice7.jpg" alt="Click here to see a list of all our services" width="145" height="17" border="0"></a></td>
    </tr>
    <tr>
     <td height="17">
      <a href="http://www.somedomain.com/tabid/92/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice8.jpg" alt="click here to see a list of available positions" width="145" height="17" border="0"></a></td>
    </tr>
    <tr>
     <td height="17">
      <a href="http://www.somedomain.com/tabid/93/Default.aspx"><img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice9.jpg" alt="Click here to contact us" width="145" height="17" border="0"></a></td>
    </tr>
    <tr>
     <td height="44">
      <img src="/portals/_default/skins/greenhillslandscaping-default/images/Slice10.jpg" width="145" height="44" alt=""></td>
    </tr>
   </table>
   <table width="750" height="24" border="0" cellpadding="0" cellspacing="0" background="/portals/_default/skins/greenhillslandscaping-default/images/backgroundBlank.jpg">
    <tr>
     <td width="35">&nbsp;</td>
     <td valign="middle"><table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td valign="middle"><dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" /></td>
                        <td align="right" valign="middle"><dnn:SEARCH runat="server" id="dnnSEARCH" Submit="Search" /></td>
                      </tr>
                    </table></td>
     <td width="27">&nbsp;</td>
    </tr>
    </table>
    <table width="750" height="24" border="0" cellpadding="0" cellspacing="0" background="/portals/_default/skins/greenhillslandscaping-default/images/backgroundBlank.jpg">
    <tr>
     <td width="35">&nbsp;</td>
     <td valign="middle"><table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td valign="middle"><dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" /></td>
                      </tr>
                    </table></td>
     <td width="161" align="right" valign="middle"><table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td align="right" valign="middle"><dnn:LOGIN runat="server" id="dnnLOGIN" CssClass="RegularText" /> | <dnn:USER runat="server" id="dnnUSER" CssClass="RegularTextBold" /></td>
                      </tr>
                    </table></td>
     <td width="27">&nbsp;</td>
    </tr>
    </table>
 
   <table width="750" height="350" border="0" cellpadding="0" cellspacing="0" background="/portals/_default/skins/greenhillslandscaping-default/images/backgroundContentTable1.jpg">
    <tr>
     <td width="35" height="100%">&nbsp;</td>
     <td width="150" valign="top"><table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td valign="top"><div runat="server" ID="LeftPane"></div></td>
                      </tr>
                    </table></td>
     <td width="377" valign="top"><table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td valign="top"><div runat="server" ID="CenterPane"></div></td>
                      </tr>
                    </table></td>
     <td width="161" valign="top"><table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td valign="top"><div runat="server" ID="RightPane"></div></td>
                      </tr>
                    </table></td>
     <td width="27">&nbsp;</td>
    </tr>
    </table>
    <table width="750" height="24" border="0" cellpadding="0" cellspacing="0" background="/portals/_default/skins/greenhillslandscaping-default/images/backgroundBlank.jpg">
    <tr>
     <td width="35">&nbsp;</td>
     <td align="center" valign="middle">&nbsp;</td>
     <td width="27">&nbsp;</td>
    </tr>
    </table>
   <table width="750" height="40" border="0" cellpadding="0" cellspacing="0" background="/portals/_default/skins/greenhillslandscaping-default/images/backgroundBlank.jpg">
    <tr>
     <td width="35" height="40">&nbsp;</td>
     <td width="688" align="center" valign="middle" bgcolor="#054805" class="FooterText"><dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />&nbsp;|&nbsp;<dnn:PRIVACY runat="server" id="dnnPRIVACY" />&nbsp;|&nbsp;<dnn:TERMS runat="server" id="dnnTERMS" /></td>
     <td width="27">&nbsp;</td>
    </tr>
    </table>
    <table width="750" height="40" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td class="FooterText">For hosting and web design, please contact <a href="mailto:someemail">Oliver Degnan</a>.</td></tr></table>
   </td>
 </tr>
</table>

 
New Post
4/2/2006 10:31 AM
 

OK. I found the problem.

In my previous skin for this site, I had a 'ContentPane'. In the new skin, I have a 'CenterPane'. So, when applying the sking and/or previewing it, it could not find the 'ContentPane' and thru an exception.

It would be nice if DNN would be a bit better in producing some user friendly error messages for these kind of 'human' mistakes.

I still love DNN though!

Thanks Nina for your post.

Oliver

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Installing new skin generates error - Default.aspxInstalling new skin generates error - Default.aspx


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