473,326 Members | 2,099 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,326 software developers and data experts.

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 1273
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: AbeR | last post by:
I'm an intermediate/novice (I've probably developed a half dozen ASP.NET apps at this point) ASP.NET C# developer at this point and am totally strumped by a client's setup. I am developing this...
6
by: vandalo | last post by:
Hi all I developed a service which can convert an office document (word, excel, powerpoint into HTML and save it on the file system To do this I use the "save as" functions of the office...
1
by: Lau Lei Cheong | last post by:
Hello, I'm writing a web page using ASP.NET that with send the page's HTML content to user through e-mail. My plan is to dump the content to a file then email it to user as attachment. The...
1
by: Dot net work | last post by:
Like most people I guess, I'd like my ASP.NET app to work and look good under as many browsers as possible. I left all of my webform pages to the default ms_positioning grid style setting. Will...
0
by: Yama | last post by:
Hi, Does someone have the browser type code for every existing browser in the market? Say browser type is IE6 what would be the most intelligent way to render my customized DHTML specific for...
1
by: Rashmi | last post by:
I have to create a power point from a web application and render it on a web browser. I tried automation of office power point on the server but read an article published by microsoft which talks...
6
by: Steve Richter | last post by:
I am using HtmlGenericControl to render html tags like <divand <span>. the problem is the <brtag does not render correctly when I use this method. ( it renders as <br></br>, which is seen by the...
2
by: Tomasz J | last post by:
Hello Developers, I am trying to render nice symbol, like the one in form close button. <span style="font-family:Webdings">r</spandoes not render in Firefox. &times; does not look good and...
8
by: Edward Diener | last post by:
Is there a way in Javascript, or perhaps in HTML, to force a browser to re-render an image on an HTML page after a round-trip between the client and the server ? In my particular case, the image...
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...
0
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.