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, ...error BC30545: Property access must assign to the property or use iterror BC30545: Property access must assign to the property or use it's value
Previous
 
Next
New Post
4/16/2008 2:23 PM
 

I posted this in another thread but realized I might need to start a new thread since it was someone else's to begin with.

I'm getting the error below. I'm making changes to the ASCX skin directly in DNN's directory with VWD 2008 and I notice that in my new skin the first tag <%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb...." has a line under it saying the same thing "Property access must assign to the property or use it's value". In my old skin it's not underlined. Anyone have a clue what I'm doing wrong?

Could Not Load Skin: /Portals/_default/Skins/HollyFactory/Vertical Fixed.ascx Error: C:\inetpub\wwwroot\HollyFactory\Portals\_default\Skins\HollyFactory\Vertical Fixed.ascx(15): error BC30545: Property access must assign to the property or use its value.

Here is my NEW skin code that doesn't work:

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>
<%@ Register TagPrefix="radm" TagName="RADMENU" Src="~/DesktopModules/RadMenu/RadMenu.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/Admin/Skins/Search.ascx" %>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="ControlPanel" runat="server" class="contentpane" valign="top" align="center" style="width: 683px">
</td>
<td><radm:RADMENU runat="server" id="RadMenu1" Skin="web20" Flow="vertical" EnableScreenBoundaryDetection="True" ClickToOpen="true" PagesToExclude="Arborvitae, Ash (Green), Birch, Crape Myrtle, Holly, Leyland, Maple (Red), Landscape Developers & Contractors, Rewholesalers & Distributors, About Us, Contact Us, Home" EnableUserMenus="true" EnableAdminMenus="true" Width="117" Height="136" style="position: relative; top: 3px; left: -2px;" />
</td>
</tr>
</table>

<div><img src="<% SkinPath %>/images/logo.gif" width="300" alt="" /></div>
<table id="HeaderTable" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr valign="top" nowrap>
        <td width="196" nowrap></td>
        <td width="41" nowrap><img src="<% SkinPath %>/images/trees_02.jpg" width="41" height="47" alt="" /></td>
        <td background="<% SkinPath %>/images/trees_03.jpg" nowrap>&nbsp;</td>
        <td width="244" align="right" nowrap><radm:RADMENU runat="server" id="RadMenu2" Skin="web20" ShowPath="True" SelectedPathHeaderItemCss="focused" SelectedPathItemCss="focused" Flow="horizontal" EnableScreenBoundaryDetection="True" EnableUserMenus="true" EnableAdminMenus="false" PagesToExclude="Admin, Host, Manage Store, Arborvitae, Ash (Green), Birch, Crape Myrtle, Holly, Leyland, Maple (Red), Landscape Developers & Contractors, Rewholesalers & Distributors" Width="" Height="" /></td>
        <td width="47" nowrap><img src="<% SkinPath %>/images/trees_06.jpg" width="47" height="47" alt="" /></td>
        <td width="191" nowrap><img src="<% SkinPath %>/images/trees_07.jpg" width="191" height="47" alt="" /></td>
    </tr>
</table>
<table id="BodyTable" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr valign="top">
        <td class="leftpane" id="LeftPane" runat="server" width="211" height="100%" background="<% SkinPath %>/images/trees_20.jpg"></td>
        <td background="<% SkinPath %>/images/trees_09.jpg" height="100%">
            <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
            <tr><td class="contentpane" id="ContentPane" runat="server" colspan="3" align="center" valign="middle"></td></tr>
            <tr>
                <td width="23" height="26"><img src="<% SkinPath %>/images/trees_25.jpg" width="23" height="26" alt=""></td>
                <td height="26" background="<% SkinPath %>/images/trees_26.jpg">&nbsp;</td>
                   <td width="20" height="26"><img src="<% SkinPath %>/images/trees_28.jpg" width="20" height="26" alt="" /></td></tr>
            </table>
        </td>
        <td width="212" background="<% SkinPath %>/images/trees_19.jpg">
            <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="212" height="33"><img src="<% SkinPath %>/images/trees_10.jpg" width="212" height="33" alt="" /></td>
            </tr>
            <tr>
                <td class="orderpane" id="OrderPane" runat="server" width="212" height="26" background="<% SkinPath %>/images/trees_12.jpg" align="center"></td>
            </tr>
            <tr>
                <td width="212" height="18"><img src="<% SkinPath %>/images/trees_14.jpg" width="212" height="18" alt="" /></td>
            </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="212" height="12"><img src="<% SkinPath %>/images/trees_16.jpg" width="212" height="12" alt="" /></td>
            </tr>
            <tr>
                <td class="searchpane" id="SearchPane" runat="server" width="212" height="25" background="<% SkinPath %>/images/trees_17.jpg" align="center"></td>
            </tr>
            <tr>
                <td width="212" height="17"><img src="<% SkinPath %>/images/trees_18.jpg" width="212" height="17" alt="" /></td>
            </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="212" height="12"><img src="<% SkinPath %>/images/trees_16.jpg" width="212" height="12" alt="" /></td>
            </tr>
            <tr>
                <td class="loginpane" id="LoginPane" runat="server" width="212" height="25" background="<% SkinPath %>/images/trees_17.jpg" align="center"></td>
            </tr>
            <tr>
                <td width="212" height="17"><img src="<% SkinPath %>/images/trees_18.jpg" width="212" height="17" alt="" /></td>
            </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="212" height="33"><img src="<% SkinPath %>/images/trees_24.jpg" width="212" height="40" alt="" /></td>
            </tr>
            </table>
        </td>
    </tr>
</table>
<br /><br />
<div class="toppane" id="TopPane" runat="server"><dnn:LOGIN runat="server" id="dnnLOGIN" /><dnn:SEARCH runat="server" id="dnnSEARCH" showWeb="false" showSite="false" /></div>
<div class="bottompane" id="BottomPane" runat="server"></div>

 

Here is my OLD skin code that does work:

<%@ 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="SEARCH" Src="~/Admin/Skins/Search.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>

<%@ Register TagPrefix="radm" TagName="RADMENU" Src="~/DesktopModules/RadMenu/RadMenu.ascx" %>

<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="ControlPanel" runat="server" class="contentpane" valign="top" align="center" style="width: 683px">
</td>
<td><radm:RADMENU runat="server" id="RadMenu1" Skin="web20" Flow="vertical" EnableScreenBoundaryDetection="True" ClickToOpen="true" PagesToExclude="Arborvitae, Ash (Green), Birch, Crape Myrtle, Holly, Leyland, Maple (Red), Landscape Developers & Contractors, Rewholesalers & Distributors, About Us, Contact Us, Home" EnableUserMenus="true" EnableAdminMenus="true" Width="117" Height="136" style="position: relative; top: 3px; left: -2px;" />
</td>
</tr>
</table>
<TABLE class="skinheader" cellSpacing="0" cellPadding="0" width="800" border="0">
  <TR>
    <TD vAlign="middle" align="left"><dnn:LOGO runat="server" id="dnnLOGO" /></TD>
  </TR>
</TABLE>
<table cellspacing="0" cellpadding="0" width="800" border="0">
  <TR>
    <TD class="toppane" id="TopPane" runat="server" valign="bottom" align="center">
    <radm:RADMENU runat="server" id="RadMenuTop" Skin="web20" ShowPath="True" SelectedPathHeaderItemCss="focused" SelectedPathItemCss="focused" Flow="horizontal" EnableScreenBoundaryDetection="True" EnableUserMenus="true" EnableAdminMenus="false" PagesToExclude="Admin, Host, Manage Store, Arborvitae, Ash (Green), Birch, Crape Myrtle, Holly, Leyland, Maple (Red), Landscape Developers & Contractors, Rewholesalers & Distributors" Width="" Height="" />
    <dnn:SEARCH runat="server" id="dnnSEARCH" showWeb="false" showSite="false" /> <dnn:LOGIN runat="server" id="dnnLOGIN" /></TD>
  </TR>
</table>
<table cellspacing="0" cellpadding="0" width="800" border="0">
  <TR valign="top">
    <TD class="leftpane" id="LeftPane" runat="server" valign="top" align="center">
    <%-- <radm:RADMENU runat="server" id="RadMenuPages" Skin="web20" Flow="vertical" EnableScreenBoundaryDetection="True" EnableUserMenus="true" EnableAdminMenus="false" PagesToExclude="Manage Store, Landscape Developers & Contractors, Rewholesalers & Distributors, Home, Contact Us, About Us" Width="" Height="" /> --%></TD>
    <TD class="contentpane" id="ContentPane" runat="server" valign="top" align="center"></TD>
    <TD class="rightpane" id="RightPane" runat="server" valign="top" align="center"></TD>
  </TR>
  <TR>
    <TD class="bottompane" colspan="3" id="BottomPane" runat="server" valign="top" align="center"></TD>
  </TR>
</table>

 
New Post
4/16/2008 5:20 PM
 

DUH. You have to put  =  in and spaces between skinpath.

<%= SkinPath %>images/trees_02.jpg

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...error BC30545: Property access must assign to the property or use iterror BC30545: Property access must assign to the property or use it's value


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