CodeSmith Community
Your Code. Your Way. Faster!

Fix for: DeepLoad Stack Overflow Error in NetTiers 2.0.1.449

Latest post 03-03-2007 12:00 AM by RyanHaney. 2 replies.
  • 03-01-2007 7:35 PM

    • RyanHaney
    • Not Ranked
    • Joined on 02-28-2007
    • Posts 8
    • Points 100

    Fix for: DeepLoad Stack Overflow Error in NetTiers 2.0.1.449

    I was experiencing a circular reference error during the deep load method (see my other post: http://community.codesmithtools.com/forums/22679/ShowThread.aspx#22679). 

    Can we provide another overload to deep load that takes a DeepLoadInfo array, where DeepLoadInfo is a class with three properties, a Type, a LevelsToLoad, and a LevelsLoadedCount.  This would solve the circular reference, being that when the DeepLoad code runs, we increment the LevelsLoadedCount until it equals the LevelsToLoad, at which point that DeepLoadInfo class gets removed from the array.

     Thanks!

     Ryan

    Filed under:
    • Post Points: 35
  • 03-02-2007 10:06 AM In reply to

    • bgjohnso
    • Top 10 Contributor
    • Joined on 09-15-2005
    • Spokane, WA
    • Posts 764
    • Points 22,530

    Re: Fix for: DeepLoad Stack Overflow Error in NetTiers 2.0.1.449

    Have you tried a newer version of the templates?  There were some significant changes to the DeepLoad process in SVN 463.

    Ben Johnson
    ------------------------------
     Member of the .NetTiers team
     Visit http://www.nettiers.com
    ------------------------------

    • Post Points: 35
  • 03-03-2007 12:00 AM In reply to

    • RyanHaney
    • Not Ranked
    • Joined on 02-28-2007
    • Posts 8
    • Points 100

    Re: Fix for: DeepLoad Stack Overflow Error in NetTiers 2.0.1.449

    I downloaded the latest version, which notes 2.0.1.511, regen'd my code, and it still doesn't work.  Since I know how many levels to load per type, it would be great if I could specify that, until then, I need to manually load each level.
    • Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems