locked
Is there a limit on the number of successful includes? RRS feed

  • Question

  • Is there a limit on the number of successful includes?
    Wednesday, May 9, 2012 4:32 PM

Answers

  • I have no idea why some of the includes are not being included.  If you are hitting some EW limitation, it's a question for MS.

    • Marked as answer by foxwlf Wednesday, May 9, 2012 11:13 PM
    Wednesday, May 9, 2012 10:48 PM

All replies

  • Which kind of includes?   I suspect the answer is "no" for any kind, but they are handled differently.

    (And, is there a specific reason you asking?  Are you getting an error of some sort?)

    Wednesday, May 9, 2012 5:20 PM
  • http://www.foxmls.com/Articles-Carousel-Home-Improvement.html

    If you look at the source code in the above location you will see that none of the includes are executed.

    If I take off the last few includes, then it has the includes in the code as seen in the following page:

    http://www.foxmls.com/Articles-Carousel-Home-Improvement-59.html

    Wednesday, May 9, 2012 5:57 PM
  • These are FP/EW design time includes, so would be included/added to the page when it is published.

    I'm not aware of any limit but have never used more than two or three at a time.


    Ian Haynes

    EW - V4 Add-Ins
    EW - Resources, hints and tips
    EW - Design for the Mobile Web
    expression(web.blog)

    Wednesday, May 9, 2012 7:48 PM
  • If you look at the code on the server, you will see the includes did not make the compile.  The code between the two links is exactly the same in EW except the one ending in 59 has only 59 included articles.
    Wednesday, May 9, 2012 7:54 PM
  • Just a clarification: Design time includes are not included when you publish, but when you open/edit the page.  You can see them in Design View.  EW hides the Code View of the included part with the include comment so you don't get the impression you can edit the include there.  Open the page in NotePad, and you'll see the included content already there.  SO:  Do you see the included content in Design View?  Save the page, open it using NotePad: do you see all the included code in the page?  A question is: where is it failing?  If its in the page when you open it in NotePad, it will still be there when you publish it to your hosted site.

    I'm not aware of any limit, unless there is some memory/processing limit in EW or in your system, and of course it would be between you and MS to figure that out.

    Wednesday, May 9, 2012 9:31 PM
  • Here is "Articles-Carousel-Home-Improvement.html" in note pad.  

    <!-- ******** BEGIN LIKNO WEB TABS CODE FOR foxmlsArticlesCarouselHomeImprovement ******** -->

    <script type="text/javascript">var lwtbLinkedBy="LiknoWebTabs [1]",lwtbName="foxmlsArticlesCarouselHomeImprovement",lwtbBN="210";</script><script charset="UTF-8" src="http://www.foxmls.com/likno-scripts/foxmlsArticlesCarouselHomeImprovement.js" type="text/javascript"></script>
    <!-- ******** END LIKNO WEB TABS CODE FOR foxmlsArticlesCarouselHomeImprovement ******** -->

    <!--webbot bot="Include" u-include="Track-Modal-LMStoreWindow.html" tag="BODY" -->
    <!--webbot bot="Include" u-include="Track-Modal-LMStoreWindowBlog.html" tag="BODY" --><div>

    <div class="Carousel-Tabs-Holder">
    <div class="Carousel-Tabs">
    <!--webbot bot="Include" u-include="Articles-Carousel-Play-Tabs.html" tag="BODY" --></div>
    <div class="Carousel-Article-Page-Holder"> <span class="Carousel-Article-Page">Article  </span></div>
    <div class="Carousel-Article-Number">
    <span class="Carousel-Actual-Number">74</span>&nbsp;
    <span class="Carousel-Actual-Articles">Articles</span></div>
    </div>
    <div id="Carousel_Home_Improvement_PositionID">
    </div>
    <div>

    <!--webbot bot="Include" u-include="Articles-Carousel-Home-Improvement-header.html" tag="BODY" --></div>
    <!-- Newest Articles are on top of the list -->

    etc

    ______________________________________________________________________________________________________________

    The "Articles-Carousel-Home-Improvement-59.html" follows and has the included code:

    <!-- ******** BEGIN LIKNO WEB TABS CODE FOR foxmlsArticlesCarouselHomeImprovement ******** -->
    <script type="text/javascript">var lwtbLinkedBy="LiknoWebTabs [1]",lwtbName="foxmlsArticlesCarouselHomeImprovement",lwtbBN="210";</script><script charset="UTF-8" src="http://www.foxmls.com/likno-scripts/foxmlsArticlesCarouselHomeImprovement.js" type="text/javascript"></script>
    <!-- ******** END LIKNO WEB TABS CODE FOR foxmlsArticlesCarouselHomeImprovement ******** -->

    <!--webbot bot="Include" u-include="Track-Modal-LMStoreWindow.html" tag="BODY" startspan -->
    <!-- ******** BEGIN LIKNO WEB MODAL WINDOWS CODE FOR LMStoreWindow ******** -->
    <script type="text/javascript">var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="LMStoreWindow",lwmwBN="246";</script><script charset="UTF-8" src="http://www.foxmls.com/likno-scripts/LMStoreWindow.js" type="text/javascript"></script>
    <!-- ******** END LIKNO WEB MODAL WINDOWS CODE FOR LMStoreWindow ******** -->

    <!--webbot bot="Include" endspan i-checksum="60326" -->
    <!--webbot bot="Include" u-include="Track-Modal-LMStoreWindowBlog.html" tag="BODY" startspan -->
    <!-- ******** BEGIN LIKNO WEB MODAL WINDOWS CODE FOR LMStoreWindowBlog ******** -->
    <script type="text/javascript">var lwmwLinkedBy="LiknoWebModalWindows [1]",lwmwName="LMStoreWindowBlog",lwmwBN="246";</script><script charset="UTF-8" src="http://www.foxmls.com/likno-scripts/LMStoreWindowBlog.js" type="text/javascript"></script>
    <!-- ******** END LIKNO WEB MODAL WINDOWS CODE FOR LMStoreWindowBlog ******** -->

    <!--webbot bot="Include" endspan i-checksum="13025" --><div>

    <div class="Carousel-Tabs-Holder">
    <div class="Carousel-Tabs">
    <!--webbot bot="Include" u-include="Articles-Carousel-Play-Tabs.html" tag="BODY" startspan -->
    <div style="width: 120px;">
                <img src="Images/likno_tabs_generic_039_previous.png"/> 
                <img src="Images/likno_tabs_generic_039_play.png"/> 
                <img src="Images/likno_tabs_generic_039_next.png"/></div>

    <!--webbot bot="Include" endspan i-checksum="130" --></div>
    <div class="Carousel-Article-Page-Holder"> <span class="Carousel-Article-Page">Article  </span></div>
    <div class="Carousel-Article-Number">
    <span class="Carousel-Actual-Number">74</span>&nbsp;
    <span class="Carousel-Actual-Articles">Articles</span></div>
    </div>
    <div id="Carousel_Home_Improvement_PositionID">
    </div>
    <div>

    <!--webbot bot="Include" u-include="Articles-Carousel-Home-Improvement-header.html" tag="BODY" startspan -->


    <div title="Panel 1">
    <div class="liknotabs_header_Carousel_Home_Improvement" style="display: none">


    <img src="images/Circle-Tab-Deselected.png" alt="Circle-Tab-Deselected" />
    <img src="images/Circle-Tab-Deselected-Mouse-Over.png" alt="Circle-Tab-Deselected-Mouse-Over" />
    <img src="images/Circle-Tab-Selected.png" alt="Circle-Tab-Selected"/>
    <img src="images/Circle-Tab-Selected-Mouse-Over.png" alt="Circle-Tab-Selected-Mouse-Over" />


    </div></div>

    <div title="Panel 2">
    <div class="liknotabs_header_Carousel_Home_Improvement" style="display: none">


    <img src="images/Circle-Tab-Deselected.png" alt="Circle-Tab-Deselected" />
    <img src="images/Circle-Tab-Deselected-Mouse-Over.png" alt="Circle-Tab-Deselected-Mouse-Over" />
    <img src="images/Circle-Tab-Selected.png" alt="Circle-Tab-Selected"/>
    <img src="images/Circle-Tab-Selected-Mouse-Over.png" alt="Circle-Tab-Selected-Mouse-Over" />


    </div></div>

    <div title="Panel 3">
    <div class="liknotabs_header_Carousel_Home_Improvement" style="display: none">


    <img src="images/Circle-Tab-Deselected.png" alt="Circle-Tab-Deselected" />
    <img src="images/Circle-Tab-Deselected-Mouse-Over.png" alt="Circle-Tab-Deselected-Mouse-Over" />
    <img src="images/Circle-Tab-Selected.png" alt="Circle-Tab-Selected"/>
    <img src="images/Circle-Tab-Selected-Mouse-Over.png" alt="Circle-Tab-Selected-Mouse-Over" />


    </div></div>

    <div title="Panel 4">
    <div class="liknotabs_header_Carousel_Home_Improvement" style="display: none">


    <img src="images/Circle-Tab-Deselected.png" alt="Circle-Tab-Deselected" />
    <img src="images/Circle-Tab-Deselected-Mouse-Over.png" alt="Circle-Tab-Deselected-Mouse-Over" />
    <img src="images/Circle-Tab-Selected.png" alt="Circle-Tab-Selected"/>
    <img src="images/Circle-Tab-Selected-Mouse-Over.png" alt="Circle-Tab-Selected-Mouse-Over" />

    etc

    Wednesday, May 9, 2012 9:47 PM
  • I have no idea why some of the includes are not being included.  If you are hitting some EW limitation, it's a question for MS.

    • Marked as answer by foxwlf Wednesday, May 9, 2012 11:13 PM
    Wednesday, May 9, 2012 10:48 PM
  • There does seem to be a limit on the number of includes
    Wednesday, May 9, 2012 11:14 PM