Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Neil 63 posts 105 karma points
    Apr 04, 2013 @ 14:57
    Neil
    0

    running umbraco site out of VS2010 takes 5-10 mins to load

    I have inherited an umbraco site built by someone else.  Each time I recompile the source and "View in Browser" from VS2010, it routinely takes 5-10 minutes to load either the public site or the admin interface.  We have many other umbraco sites for which this isn't a problem, but this one was built by a contractor and I (and they) have no idea why it takes so long to load.

    I have tried appending ?umbDebugShowTrace=true  to the end of the url, and the stack trace shows the site loading in under 2 seconds.  Any other ideas as to how I might trace this problem?

    Thanks.

  • Rich Green 2246 posts 4008 karma points
    Apr 04, 2013 @ 15:03
    Rich Green
    0

    Were they using uSiteBuilder?

  • Neil 63 posts 105 karma points
    Apr 04, 2013 @ 15:03
    Neil
    0

    Yes they were.

  • Rich Green 2246 posts 4008 karma points
    Apr 04, 2013 @ 15:06
    Rich Green
    0

    Remove the uSiteBuilder dll and the uSiteBuilder references in web.config then try.

    You won't need it until you are making DocType changes.

    Rich

  • Neil 63 posts 105 karma points
    Apr 04, 2013 @ 15:17
    Neil
    0

    I tried that, but then it won't build.  it throws DocumentTypeProperty errors, etc.  

    In addition, when I start the project in VS2010, I get this popup:

    which I've been saying "No" to.  In most other of our umbraco sites, they use uSiteBuilder but I don't get that error.  I'm wondering if, on startup, it's looking for something it can't find and then finally times out...?

     Added note: I did discover another of our sites that showed the same popup above, and it loads as quickly as any other (10-20 secs)...

     

  • Neil 63 posts 105 karma points
    Apr 04, 2013 @ 16:23
    Neil
    0

    Someone just told me that if you have many document types, that it can take a while for the site to load. There are 49 document types in this site.  Is there any way to avoid these ludicrous load times if that's what's wrong?

  • Rich Green 2246 posts 4008 karma points
    Apr 04, 2013 @ 16:27
    Rich Green
    0

    Ok, put it back as it was and add this to web.config

    <add key="siteBuilderSuppressSynchronization" value="true" />

     

    Rich

  • Rich Green 2246 posts 4008 karma points
    Apr 04, 2013 @ 16:33
    Rich Green
    0

    The reason it's slow is because uSiteBuilder is checking all the DocTypes when your app is restarting, so you need to supress it (unless you've made DocType changes via code)

    Rich

  • Neil 63 posts 105 karma points
    Apr 04, 2013 @ 18:09
    Neil
    0

    sorry, editing: let me try that

  • Neil 63 posts 105 karma points
    Apr 04, 2013 @ 19:59
    Neil
    0

    Tried adding <add key="siteBuilderSuppressSynchronization" value="true" /> and it didn't change anything....why?

  • Rich Green 2246 posts 4008 karma points
    Apr 05, 2013 @ 10:13
    Rich Green
    0

    Hey Neil,

    I'm not sure which version of uSiteBuilder allows this command.

    Putting it simply, uSiteBuilder is more than likely the culprit for why your App start up is slow.

    If you don't need it, then remove it from your site and also from your Visual Studio, or alternatively upgrade to a newer version which disables the auto check on app start up.

    Rich 

  • Neil 63 posts 105 karma points
    Apr 05, 2013 @ 18:24
    Neil
    0

    unfortunately, we do need it.  I'm reasonably sure that it's a version too old to support that command.  I'll have to live with 3 minute load times, i guess.

  • Rich Green 2246 posts 4008 karma points
    Apr 11, 2013 @ 11:59
    Rich Green
    0

    Hey Neil,

    You can install this version http://our.umbraco.org/projects/backoffice-extensions/usitebuilder-admin much better and no wait times.

    Rich

  • Michael Wulff Nielsen 11 posts 74 karma points
    Apr 11, 2013 @ 13:11
    Michael Wulff Nielsen
    0

    Older version of uSitebuilder did not support the "SuppressSync" flag, try upgrading your dll and restarting. Maybe clean the build first.

Please Sign in or register to post replies

Write your reply to:

Draft