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:
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?
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?
Hi Rahul,
I think you should exclude the umbraco folder from precompilation I think.
Dave
HOW?
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?
Same problem here... did you ever find a way to do this?
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
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/
is working on a reply...