Take a look at your template(s). Do you have any <% ... %> code blocks in them?
Otherwise, simplify your template(s) by removing one control or .net macro at a time until Canvas works again... then you'll know which item is the culprit and we can look more closely at it.
Oh, and you might find a bit more information in the umbracoLog table, to direct you in your search for the cause of this error.
Error when trying to edit in canvas
Hi All,
I'm hoping someone can help me as my Client loves this feature after showing a demo and now it doesn't seem to be working.
Everytime I go to Edit in Canvas I get the following error message:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
And then every page becomes like that so cant see any of my site for about 30 minutes then its all working again.
Anyone experienced this before?
Thanks
Tom
Hi, Tom,
Take a look at your template(s). Do you have any <% ... %> code blocks in them?
Otherwise, simplify your template(s) by removing one control or .net macro at a time until Canvas works again... then you'll know which item is the culprit and we can look more closely at it.
Oh, and you might find a bit more information in the umbracoLog table, to direct you in your search for the cause of this error.
Let us know what you find out.
cheers,
doug.
Found the issue: Seems that the following had been entered onto the master page:
Which caused it to blow up!!
Thanks for the advice Doug
Tom
Super!
Here are some other ways to handle the year that are Canvans-compatible... http://blog.percipientstudios.com/2010/1/2/the-never-expiring-copyright-date.aspx
cheers,
doug.
Cheers Doug,
I went down the route of using the umbraco library.
Thanks
Tom
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.