Error Message in 1.2.1

Topics: Developer Forum, User Forum
Jun 3, 2008 at 9:14 AM
Edited Jun 3, 2008 at 9:15 AM
Hello all
I've installed 1.2.1 and added an AdRotator class to a page.

I'm getting the following error message but the file seems identical to the form.cs in version 1.2.0.

(The full stack is available but I've not posted it to keep the posting small !)

Any ideas gratefully received.
Regards Adrian


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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: A page can have only one server-side Form tag.

Source Error:

Line 23:         protected override void Render(System.Web.UI.HtmlTextWriter writer)
Line 24:         {
Line 25: base.Render(new RewriteFormHtmlTextWriter(writer));Line 26:         }
Line 27:     }

Source File: C:\wwwww\yyyyyy\App_Code\Form.cs    Line: 25