I am trying to generate word document in c#
I have declared mergeField in header section
after writing data and trying to insert paragraph in page
i am getting System.InvalidOperationException: Cannot insert the requested break outside of the main story.
Hi there,
Thanks for your inquiry. Yes, you can insert paragraph in the header/footer of document. It would be great if you please share following detail for investigation purposes.
As soon as you get these pieces of information to
us we’ll start our investigation into your issue.