Getting runtime error when I try to load the custom master p

Posted by Community Admin on 04-Aug-2018 17:21

Getting runtime error when I try to load the custom master page.

All Replies

Posted by Community Admin on 17-Nov-2015 00:00

Hi Sir/Madam,

I am using sitefinity 8.2 trial version for the POC of my running website. It is configured in my local development box. I added the custom site master page in the pagetemplate section and and its related files into the file system of configured site. When I try to view my custom master page it is throwing "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)." error. My master page contains script block, child controls and it is inherited from the root master page. The root master page finally inherits the basepage. Even I tried to put the script in the div/placeholder container is not solving the problem.  

I have attached the screenshot for reference. Please advise me how to proceed on this.

Thanks,

Balaji

This thread is closed