We are using Aspose.Words 9.5.0.0 and when using the response to send a rendered document to the user we receive this error. "A page can have only one server-side Form tag." We are using Me.RenderControl to generate the HTML for the document* to be rendered with Aspose.Words.* We have a method we used prior to Aspose that used the Me.RenderControl as well for generating the HTML and have yet to receive this error when using that method. We have tried importing from a .txt file made from the generated HTML and Aspose handles this fine. We tried generating a temporary .txt file before sending it to Aspose to generate and still get the error if we do a RenderControl on the page prior to sending it to Aspose.
It would seem that the RenderControl may be adding in the extra form tag somewhere, but that wouldn’t explain why the old method we used never encountered this problem, only after we went with Aspose do we see this problem on our servers. What could be causing this?