Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: BegASPNet/C# Ch03 holidaypage.aspx ERROR


Message #1 by "Ron Santos" <ron_santos@h...> on Fri, 18 Oct 2002 19:35:56
Hello,  I get the following error message when i run the example code from 
BegASPNet using C#.  When I do use
the form using 'runat="server" ', It won't execute the 
holidayresponse.aspx.  The error message is below.


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

Control 'FullName' of type 'TextBox' must be placed inside a form tag with 
runat=server. 
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: Control 'FullName' of 
type 'TextBox' must be placed inside a form tag with runat=server.

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.  
Message #2 by "Hovik Melkomian" <melvik@b...> on Sat, 19 Oct 2002 09:20:47 +0330
Well its simple & tell u what to do.
make ur form runat="server"

HIH,
Hovik.
----- Original Message -----
From: "Ron Santos" <ron_santos@h...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Friday, October 18, 2002 7:35 PM
Subject: [aspx_beginners] BegASPNet/C# Ch03 holidaypage.aspx ERROR


Hello,  I get the following error message when i run the example code from
BegASPNet using C#.  When I do use
the form using 'runat="server" ', It won't execute the
holidayresponse.aspx.  The error message is below.



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

Control 'FullName' of type 'TextBox' must be placed inside a form tag with
runat=server.
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: Control 'FullName' of
type 'TextBox' must be placed inside a form tag with runat=server.

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.
---
Beginning ASP.NET Databases using VB.NET
http://www.wrox.com/ACON11.asp?ISBN=1861006195

Beginning ASP.NET Databases using C#
http://www.wrox.com/ACON11.asp?ISBN=1861007418

These books look at how we can create data-centric ASP.NET
applications. Requiring some basic knowledge of ASP.NET,
Access and SQL the authors guide you through the process
of connecting and consuming information in a variety of
ways. They are packed full of excellent illustrative code
examples, demonstrating important fundamental principles.



  Return to Index