I corrected the error in the code, but the page still does not render. I put
this aspx page at the root directory of the web site, C:\Inetpub\wwwroot.
When I navigate to
http://localhost/helloword.aspx, I get the following
message:
***********************************
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
**********************************
I checked the application log on the machine, but there was no recorded
event that would reflect this problem.
What else could the problem be?
Thanks again!
CSDunn
"Erik Frey" <er*******@hotmail.com> wrote in message
news:uH**************@TK2MSFTNGP09.phx.gbl...
A cursory glance at your code shows reference to "lblHello.World"
which should read "lblHelloWorld".
You may want to start there. I doubt this problem is related to
browser version at all.
Erik
"CSDunn" <cd***@valverde.edu> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl... Hello,
I am trying to help a co-worker of mine with a C# problem. The following
code will not render at all in the IE 5.5 browser we are using:
************************************************** ******
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorld text="HelloWorld" runat=Server />
<br>
<asp:Button onclick=ClickedIt text="Submit" runat=server />
</form>
</body>
<script Language=C# runat=Server>
void ClickedIt (Object sender, System.EventArgs e)
{
lblHello.World.Text = ".NET Rules!";
}
</Script>
</html>
**************************************************
This is supposed to be an elementary C# example, it come right out of a
book she is using to learn ASP.NET with C#. When she attempts to render the
page in the browser, the page just comes up blank. She has IIS 5.1 installed
on her Windows XP Pro machine, and has the 1.1 framework installed.
Why will this code not render in the browser?
Thanks!
CSDunn