Copied to clipboard

Flag this post as spam?

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


  • Rahul Sekhar 9 posts 85 karma points
    Feb 17, 2017 @ 09:48
    Rahul Sekhar
    0

    ASMX precompilation error

    I've been precompiling my Umbraco 7.5.6 site, with updatable set to false. All my views and the backoffice have been working perfectly so far. However, I'm getting an error when I try to sort nodes on the backend. Requests are made to:

    • /umbraco/WebServices/NodeSorter.asmx/js
    • /umbraco/WebServices/legacyAjaxCalls.asmx/js
    • /umbraco/WebServices/NodeSorter.asmx/UpdateSortOrder?app=content

    Calls to these asmx files fail, giving me the error - The file '...' has not been pre-compiled, and cannot be requested.

    .compiled files for all the asmx files are present in the /bin folder.

    What could I be missing here?

    Error page

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Feb 17, 2017 @ 10:01
    Dave Woestenborghs
    0

    Hi Rahul,

    I think you should exclude the umbraco folder from precompilation I think.

    Dave

  • Kevin 4 posts 74 karma points
    Dec 06, 2017 @ 18:12
    Kevin
    0

    HOW?

  • Rahul Sekhar 9 posts 85 karma points
    Feb 17, 2017 @ 10:32
    Rahul Sekhar
    0

    Hi Dave,

    I'm not sure how I can do this (I'm a bit new to ASP.NET) - it seems as though it's all or nothing.

    When I have it precompile just my views, if I exclude the umbraco folder, I get errors in the backoffice saying the Umbraco .cshtml and .aspx files are not precompiled. Including the umbraco folder resolved this in all cases except for these .asmx files.

    It would be great if I could just precompile my front-end views and not precompile the Umbraco views. Is there some way I can do that?

  • Kevin 4 posts 74 karma points
    Dec 05, 2017 @ 15:06
    Kevin
    0

    Same problem here... did you ever find a way to do this?

  • Simon Yohannes 58 posts 188 karma points
    Feb 16, 2019 @ 14:28
    Simon Yohannes
    0

    this is a great read for anybody who is going down the precompile route https://colours.nl/blog/road-to-precompiled-web-application-based-on-umbraco-cms

  • Ryan Durkin 1 post 71 karma points
    Apr 09, 2019 @ 11:18
    Ryan Durkin
    0

    If anyone is looking for this blog post, it's now been moved to https://dobryak.org/road-to-precompiled-web-application-based-on-umbraco-cms/

Please Sign in or register to post replies

Write your reply to:

Draft