Error: An error occurred during the processing of . Only Content controls are allowed directly in a content page that contains Content controls.


if this “An error occurred during the processing of . Only Content controls are allowed directly in a content page that contains Content controls.” error message happens to you, let me tel you the solution can be very easy.

Ususally this is associated with MasterPages or PageLayouts, so check in you pages if there are any content tags with lowercase, and just replace them with Content! that ‘s it!!!

content –> Content

It is a very stupid error, but it happens.

Computer developer/consultant from Portugal. You can find me at ricardo.magalhaes@gmail.com

Tagged with:
Posted in Sharepoint
9 comments on “Error: An error occurred during the processing of . Only Content controls are allowed directly in a content page that contains Content controls.
  1. althaf says:

    coooool….

  2. nicky says:

    hi,

    just a note, I have this problem and all my content tags are right (Content). Any other ideas?

  3. erkan says:

    Hi Nicky, the problem could also be because of a commented out area. We had a similar issue and everything was fine but noticed that a placeholder was commented out. Once we undid that, it worked all fine.

    Cheers.

  4. sherin says:

    I given some code here.it shows error like
    “Only Content controls are allowed directly in a content page that contains Content controls.”
    Please any one help me to correct this code

  5. sherin says:

    This is the code…

  6. Also make sure to check there don’t exist any character outside tag

  7. Ajay says:

    good catch. Thanks a lot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: