If you see something like this:
This could be (it was in my case) caused by a very obscure behaviour of the web part manager during provisioning. Namely it doesn’t like your <asp:Content tags to be defined in lower case.
Wrong: Error prone page layout
Yet another SharePoint time waster! 🙂
Thanks for this post, I came across this exact error!
The above link might be helpful !!!