Only Content controls are allowed directly

The error message was the “Only Content controls are allowed directly …” error even though the page was layed out properly. It appears that the lack of Windows (error code 0x80072ee7) style line breaks caused the ASPX parser to fail.

Note: For more details about this error at: Only Content controls are allowed directly in a content page that contains Content controls in ASP.NET - Stack Overflow

@hemadoi

If you are using Aspose.Words, please share some detail about your query. We will then answer it accordingly.