Hi, our site experiences intermittent "error loading razor script" errors. This happens to different razor scripts at different times and isn't really replicateable. The macro's are generally cached and removing the cache and refreshing the page, the macro renders correctly (re-adding the cache and refreshing the page returns the error message, I assume because it's saved into the cache. once the cache has expired it's fine again).
Any thoughts on potential issues? Or is this just buggy with Umbraco 4.7.0?
IIS7 / Umbraco 4.7.0
I've just started seeing this also on 4.7.1 install, wondering if it is related to http://our.umbraco.org/forum/developers/api-questions/8584-Severe-Issue-with-macro-caching-under-heavy-load but not sure. I will try to upgrade to 18.104.22.168 and see if it continues.
So far having upgraded to 22.214.171.124 I have not seen this issue yet.
I've just seen this problem in a site that was upgraded to 126.96.36.199 - so not sure if it is totally fixed. The only difference is that republishing the site (or individual pages) did not fix it - I had to "touch" web.config to restart the entire application.
Is your site under heavy load when this is happening or does it happy all the time?
It happens rarely, but the site is fairly high-profile (being part of an international media organisation) so I wouldn't be surprised if it was under high load - but I don't (as yet) have any server stats to back this up. I believe it's related to this thread: http://our.umbraco.org/forum/developers/api-questions/8584-Severe-Issue-with-macro-caching-under-heavy-load?p=8