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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  error BC30545: Property access must assign to the property or use it's value
Previous Previous
 
Next Next
New Post 4/16/2008 11:23 AM
Resolved
User is offline GeoCentric Designs
158 posts
9th Ranked


error BC30545: Property access must assign to the property or use it's value 
Modified By GeoCentric Designs  on 4/16/2008 2:28:11 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 2:20 PM
User is offline GeoCentric Designs
158 posts
9th Ranked


Re: error BC30545: Property access must assign to the property or use it's value 

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

<%= SkinPath %>images/trees_02.jpg

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  error BC30545: Property access must assign to the property or use it's value
 


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.

 


BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com
Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery

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