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)

Follow

Get every new post delivered to your Inbox

Join other followers