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 84 karma points
    Feb 17, 2017 @ 09:48
    Rahul Sekhar

    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 2989 posts 9467 karma points MVP 3x admin c-trib
    Feb 17, 2017 @ 10:01
    Dave Woestenborghs

    Hi Rahul,

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


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


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

    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

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

Please Sign in or register to post replies

Write your reply to: