Content controls have to be top-level controls

Posted by horatio on Stack Overflow See other posts from Stack Overflow or by horatio
Published on 2008-11-24T04:54:21Z Indexed on 2012/06/25 21:16 UTC
Read the original article Hit count: 262

Filed under:

I have a website that can be accessed from www.blahblah.com and special.blahblah.com. The www site always works but occasionly I get a 'Content controls have to be top-level controls in a content page or a nested master page that references a master page' error on the special site.

It's exactly the same code running in both situations and the offending page doesn't even have a master page. Why would it work all the time on one and fail sometimes on the other?

© Stack Overflow or respective owner

Related posts about ASP.NET