|
| Web Page Does Not Display Correctly |
 |
Mon, 31 Mar 2008 20:59:50 +000 |
I have a very basic Default.aspx page (and it is the ONLY page currently in my
web directory) with the following code: <%@ Page Language="VB"
Debug="True" %><html><head><title>Hello World
Page</title></head><body><center><% Dim TextSize As
Integer %><% For TextSize = 1 To 3 %><font size =
<%=TextSize%>>Hello World!<br></font><% Next
%></center></body>
</html>
The Default.aspx page correctly displays Hello World in three font sizes when it
is viewed in brower within Visual Studio 2005. However, when this page is run
on our webfarm, the Hello World is displayed only once. Our web farm support
.Net 2.0.
What did I do wrong or is there any special set up that I need to do?
|
| Post Reply
|
| Re: Web Page Does Not Display Correctly |
 |
Wed, 2 Apr 2008 15:15:14 +0000 |
Move all the inline code from the page to a code-behind file.
---------------------------------------------------------------Please click Mark
As Answer if this helped in solving your problem.
|
| Post Reply
|
| Re: Web Page Does Not Display Correctly |
 |
Wed, 2 Apr 2008 15:20:20 +0000 |
ASP.FAQ:What did I do wrong or is there any special set up that I need to do?
Looks like wherever you posted this to on your web farm isn't configured to
serve ASP.NET. Check with your admins for proer setup.
Jeff
|
| Post Reply
|
| Re: Web Page Does Not Display Correctly |
 |
Wed, 2 Apr 2008 15:21:08 +0000 |
sudipta:Move all the inline code from the page to a code-behind file.
Ummm.... Not sure why you think that would make a difference.
Jeff
|
| Post Reply
|
|
|
|
|
|
|
|
|
|