More in this section
Forums / Bugs & Issues / Getting runtime error when I try to load the custom master page.

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

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Balaji
    Balaji avatar
    8 posts
    Registered:
    13 Nov 2015
    17 Nov 2015
    Link to this post

    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

1 posts, 0 answered