469,645 Members | 1,189 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Will not render in IE 5.5 browser

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
Nov 15 '05 #1
4 1158
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

Nov 15 '05 #2
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


Nov 15 '05 #3
I copied and pasted your code and it worked fine on my localhost IIS.
This suggests to me that something is wrong with your IIS/.NET setup, and
not with your C# code.

Quite possible, considering the ASP.NET installation woes I have heard
from my sysadmins!

So, you will probably get better advice if you ask this question in
microsoft.public.dotnet.framework.aspnet.

Erik

"CSDunn" <cd***@valverde.edu> wrote in message
news:eM**************@TK2MSFTNGP10.phx.gbl...
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



Nov 15 '05 #4
I have actually just confirmed that it is a server problem.
Thanks again for your help!

CSDunn

"Erik Frey" <er*******@hotmail.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I copied and pasted your code and it worked fine on my localhost IIS.
This suggests to me that something is wrong with your IIS/.NET setup, and
not with your C# code.

Quite possible, considering the ASP.NET installation woes I have heard
from my sysadmins!

So, you will probably get better advice if you ask this question in
microsoft.public.dotnet.framework.aspnet.

Erik

"CSDunn" <cd***@valverde.edu> wrote in message
news:eM**************@TK2MSFTNGP10.phx.gbl...
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
>
>



Nov 15 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by AbeR | last post: by
6 posts views Thread by vandalo | last post: by
1 post views Thread by Lau Lei Cheong | last post: by
reply views Thread by Yama | last post: by
6 posts views Thread by Steve Richter | last post: by
2 posts views Thread by Tomasz J | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.