473,322 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

"A page can have only one server-side Form tag." when NONE exist!

There was a problem with ASP.Net 1.1 creating/generating bad
javascript on html pages that I ran into and on the KB page that I had
found at the time it said that the problem was fixed in the .Net
Framework 1.1 SP 1.

So, I ran "NDP1.1sp1-KB867460-X86.exe" thus installing that SP and now
I'm getting this very strange "A page can have only one server-side
Form tag." error and am wondering if anyone knows how to fix it. The
thing is, I commented out ALL of the <form> tags on my main
(Default.aspx) page and I STILL get this @#$#en error.

I have no clue what to do now because this error makes absolutely no
sense. Should I uninstall the SP, or... ? The text version of the
error page I'm getting is;

Server Error in '/PTa01' Application.
------------------------------------------------------------------------------

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:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): A page can have only one server-side Form
tag.]
System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String
formUniqueID)
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer)
System.Web.UI.Control.Render(HtmlTextWriter writer)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer)
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer)
System.Web.UI.Control.Render(HtmlTextWriter writer)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Page.ProcessRequestMain()

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

** end

Notice how my page (again, Default.aspx) isn't even mentioned in the
call stack.

ANY help/ideas appreciated!!
Thanks!
-Scott F.
Nov 18 '05 #1
1 3277
Well, you do need a Form tag. <grin>

Did the sp require a reboot?

Is it possible that this is somehow related to the problem in the files in
the aspnet_client folder in the service pack?

http://weblogs.asp.net/pwilson/archi...16/230591.aspx

"ScottF" <cm********@gmail.com> wrote in message
news:f0**************************@posting.google.c om...
There was a problem with ASP.Net 1.1 creating/generating bad
javascript on html pages that I ran into and on the KB page that I had
found at the time it said that the problem was fixed in the .Net
Framework 1.1 SP 1.

So, I ran "NDP1.1sp1-KB867460-X86.exe" thus installing that SP and now
I'm getting this very strange "A page can have only one server-side
Form tag." error and am wondering if anyone knows how to fix it. The
thing is, I commented out ALL of the <form> tags on my main
(Default.aspx) page and I STILL get this @#$#en error.

I have no clue what to do now because this error makes absolutely no
sense. Should I uninstall the SP, or... ? The text version of the
error page I'm getting is;

Server Error in '/PTa01' Application.
------------------------------------------------------------------------------

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:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:
[HttpException (0x80004005): A page can have only one server-side Form
tag.]
System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String
formUniqueID)
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer)
System.Web.UI.Control.Render(HtmlTextWriter writer)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer)
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlContainerControl.Re nder(HtmlTextWriter
writer)
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer)
System.Web.UI.Control.Render(HtmlTextWriter writer)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Page.ProcessRequestMain()

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

** end

Notice how my page (again, Default.aspx) isn't even mentioned in the
call stack.

ANY help/ideas appreciated!!
Thanks!
-Scott F.


Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tim Marshall | last post by:
Originally posted with Comp.lang.php spelt stupidly incorrectly. Please accept my apologies for the resultant multi-post.... Hi, I'm cross posting to comp.infosystems.www.authoring.html and...
8
by: Michael G. Schneider | last post by:
With Windows 2003 Server... Imagine the following scenario: there is a simple ASP page, for example just a single Response.Write statement. There is a virtual directory pointing to the...
4
by: Matt. | last post by:
Hi all! I've written and tested my ASP page using the Localhost. It works fine. Now I'm ready to deliver it to the rest of the company. How do I put it out there? Point me somewhere, please. ...
13
by: teenzbutler | last post by:
I have a 10mb ASP file, which will not load in IE 6.0. I get an HTTP 500 error. When I convert the 10mb file to HTML, it loads fine. Is there a limitation on file size? If so, is there a tag I...
3
by: John Knoop | last post by:
Hi all I have a page that contains a label (<asp:label id="lbl" runat="server">). Further down in that same page, I include the contents of a different page using Server.Execute. Now, I need...
1
by: Greg Burns | last post by:
I am trying to write a global custom error page. I thought I would jot down some of what I've learned so far... At first I just used the default customErrors section with a defaultRedirect tag,...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
4
by: tshad | last post by:
I have a logon page that is getting the previous page in its return URL ("logon.aspx?returnURL=A.aspx") where A.aspx is the page that called B.aspx. It should have B.aspx. I am calling B.aspx...
15
by: dee | last post by:
Hi, I'm curious why MS decided to have Transfer hide the target page's url invisible? Any guesses ? Thanks. Dee.
8
by: sgottenyc | last post by:
Hello, If you could assist me with the following situation, I would be very grateful. In my current position, we have to use a non-traditional server setup to serve PHP-generated web pages....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.