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 80 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 2384 posts 6724 karma points mvp 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
    5 days ago
    Kevin
    0

    HOW?

  • Rahul Sekhar 9 posts 80 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
    6 days ago
    Kevin
    0

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

Please Sign in or register to post replies

Write your reply to:

Draft