When Microsoft make descriptive error message…

We came to this error when rendering one ASP.NET MVC page:

Only Content controls are allowed directly in a content page that contains Content controls.

Very strange formulation butit means that you have some error in your View (maybe missing </asp:Content> or without its opening tag)

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.