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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...AARRGGHHH!!!!AARRGGHHH!!!!
Previous
 
Next
New Post
6/10/2011 11:07 AM
 

I made a module that worked perfectly except a few styling issues I has the styles sorted except for one. All I needed to do was add style="padding-top:xx" to a div. Once I compiled the module and re uploaded I got this

Error: Booking Form is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The tag contains duplicate 'class' attributes. ---> System.Web.HttpParseException: The tag contains duplicate 'class' attributes. ---> System.Web.HttpParseException: The tag contains duplicate 'class' attributes. ---> System.Web.HttpException: The tag contains duplicate 'class' attributes. at System.Web.UI.TemplateParser.ProcessError(String message) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

Even when I went back before I made the changes and re uploaded the module its showing the same error. and duplicate class makes no sense!  has anyone seen this before?

Thanks
 
New Post
6/10/2011 11:23 AM
 
Have you checked your ASCX files to see if you have CLASS or CSSCLASS defined twice on one of your elements?

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
6/10/2011 11:35 AM
 
I dont have either.

This is what I have

<%@ Control language="vb" Inherits="RJmetis.Modules.TenantBookingSearch.ViewTenantBookingSearch" AutoEventWireup="false" Explicit="True" Codebehind="ViewTenantBookingSearch.ascx.vb" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<script language="javascript" type="text/javascript">
// <![CDATA[
 
    function roomLayout_onclick() {
 
    }
 
// ]]>
</script>
 
 
<div style="min-width: 210px;">
                  
                             
                    <fieldset>
                        <asp:Label class="marginLeft" for="venue" class="venue_label" runat="server" Text="Please Select a Venue:"></asp:Label>
                        <br />
                        <asp:DropDownList ID="DropDownList2" runat="server">
                            <asp:ListItem>Great Portland Street</asp:ListItem>
                            <asp:ListItem>Lloyds Avenue</asp:ListItem>
                            <asp:ListItem>Luminous House</asp:ListItem>
                            <asp:ListItem>West Regent Street</asp:ListItem>
                        </asp:DropDownList>
                        <br />
                        <br />
                        <asp:Label class="marginLeft date_label" for="date" runat="server" Text="Date of meeting:"></asp:Label>
                    <br />
                        <asp:TextBox name="date" size="17" value="" maxlength="10" class="text-input date" runat="server"></asp:TextBox><img class="calendar" src="images/calender.jpg" alt="calendar" />
                        <br /><br />
                     
                
                        <asp:Label class="duration" runat="server" class="marginLeft" Text="Duration:"></asp:Label>
                     
                
                        <br />
                        <asp:RadioButton class="radio Hourly" type="radio" name="duration" value="Hourly" onClick="Hide('am/pm', this); Reveal('start/finish', this)" runat="server" />
                        <asp:Label  class="radioLabel" for="Hourly" runat="server" Text="Hourly"></asp:Label>
                        <asp:RadioButton  class="radio halfDay" type="radio" name="duration" value="half day" onClick="Hide('start/finish', this); Reveal('am/pm', this)" runat="server" />
                        <asp:Label  class="radioLabel" for="halfDay" runat="server" Text="1/2 Day"></asp:Label>
                        <asp:RadioButton  class="radio fullDay" type="radio" name="duration" value="full day"  onClick="SuperHide('start/finish','am/pm', this)" runat="server" />
                        <asp:Label class="radioLabel" for="fullDay" runat="server" Text="Full Day"></asp:Label>
 
                          <br />
                        <br />
                        <div class="start/finish" style="display:none"> <!-- hidden div -->
                        <div class="startInput">
                        <asp:Label class="marginLeft start_label" for="start" runat="server" Text="Start:"></asp:Label>
                        <asp:TextBox name="start" runat="server" size="5" value="" maxlength="10" class="text-input start"></asp:TextBox>
                        </div>
                        <div class="finishInput">
                        <asp:Label  class="marginLeft finish_label" for="finish" runat="server" Text="Finish:"></asp:Label>
                        <asp:TextBox size="5" value="" maxlength="10" class="text-input finish" runat="server"></asp:TextBox>
                        </div>
                        </div><!-- hidden div -->
 
                         
                        <div class="ampm" style="display:none">
                        <asp:Label class="marginLeft HalfDay_label" for="HalfDay" runat="server" Text="Half Day (ampm)"></asp:Label><br />
                           <asp:DropDownList class="ampm" name="ampm" style="width: 185px" runat="server">
                            <asp:ListItem>Morning</asp:ListItem>
                            <asp:ListItem>Afternoon</asp:ListItem>
                        </asp:DropDownList>
 
                        </div>
 
 
                        <asp:Label runat="server" class="marginLeft" for="numPeople" Text="No. of people:"></asp:Label>
                        <br />
                     
 
                     
 
                     <asp:DropDownList runat="server">
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                            <asp:ListItem>13</asp:ListItem>
                            <asp:ListItem>14</asp:ListItem>
                            <asp:ListItem>15</asp:ListItem>
                            <asp:ListItem>16</asp:ListItem>
                            <asp:ListItem>17</asp:ListItem>
                            <asp:ListItem>18</asp:ListItem>
                            <asp:ListItem>19</asp:ListItem>
                            <asp:ListItem>20</asp:ListItem>
                        </asp:DropDownList>
                        <br />
                        <br />
                        <asp:Label  class="marginLeft roomLayout_label"  for="roomLayout" runat="server" Text="Room Layout:"></asp:Label>
                        <br />
                        <asp:DropDownList class="roomLayout" name="roomLayout" style="width: 185px" onclick="return roomLayout_onclick()" runat="server">
                            <asp:ListItem>Boardroom</asp:ListItem>
                            <asp:ListItem>Meeting Room</asp:ListItem>
                            <asp:ListItem>U Shaped</asp:ListItem>
                            <asp:ListItem>Theatre</asp:ListItem>
                            <asp:ListItem>Classroom</asp:ListItem>
                            <asp:ListItem>Carbaret</asp:ListItem>
                        </asp:DropDownList>
            
                         
                <div class="button submit_btn" id="" ><asp:Button runat="server" Text="" /></div>
                
                </fieldset>
      
        </div<!-- end of booking form -->   
 
New Post
6/10/2011 11:56 AM
 
Sure you do
<asp:Label class="marginLeft" for="venue"class="venue_label" runat="server" Text="Please Select a Venue:"></asp:Label>

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
6/10/2011 12:15 PM
 
Oh sorry, Good spot I will just fix that and rebuild the module and get back to you. Thanks for the help :)
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...AARRGGHHH!!!!AARRGGHHH!!!!


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