A page can have only one server-side Form tag. Problem. VB.NET

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?

Hello

Thanks for your inquiry. Could you please create simple application, which will demonstrate the problem on my side? I will check it and provide you more information.
Best regards,

We were doing our own concurrent research and the problem is in fact a known IE bug. I’ve included the Microsoft Support Documentation link here.

https://support.microsoft.com/en-us/topic/internet-explorer-file-downloads-over-ssl-do-not-work-with-the-cache-control-headers-b2d39ae5-9b90-9894-8e9e-cb273ac83b13

We’ve corrected that issue and the Aspose functionality came through fine.

Hello

It is perfect, that you already found the way to resolve the problem. Please let me know in case of any issues. I will be glad to help you.
Best regards,