|
 |
aspx thread: ***URGENT*** aspx installation issues
Message #1 by bmcelhany@h... on Fri, 15 Nov 2002 14:21:57
|
|
Hello,
We installed the .NET redistributable (& service pack 2) on our production
web server last night (Win2K/IIS 5.0) and are having an issue. The install
went fine, but when I call up a test page that has the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I view
the source, the above text is just sent through as part of the HTML page.
Does anyone have any ideas?
Thank you very much for your help!
Brian
Message #2 by "Paul Riley" <rilez@t...> on Fri, 15 Nov 2002 14:16:09 -0000
|
|
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [mailto:bmcelhany@h...]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production
web server last night (Win2K/IIS 5.0) and are having an issue. The
install
went fine, but when I call up a test page that has the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view
the source, the above text is just sent through as part of the HTML
page.
Does anyone have any ideas?
Thank you very much for your help!
Brian
Message #3 by Clif Dunaway <csdunaway@y...> on Fri, 15 Nov 2002 06:59:21 -0800 (PST)
|
|
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our production
web server last night (Win2K/IIS 5.0) and are having an issue. The install
went fine, but when I call up a test page that has the following code:
I just get a blank page...the server control is not rendered. When I view
the source, the above text is just sent through as part of the HTML page.
Does anyone have any ideas?
Thank you very much for your help!
Brian
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
Message #4 by "Ken Schaefer" <ken@a...> on Mon, 18 Nov 2002 13:55:44 +1100
|
|
Seems like .aspx pages are not being interpreted
Find aspnet_regiis.exe and run this from the command prompt:
aspnet_regiis.exe -r
to setup IIS properly
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <bmcelhany@h...>
Subject: [aspx] ***URGENT*** aspx installation issues
: We installed the .NET redistributable (& service pack 2) on our production
: web server last night (Win2K/IIS 5.0) and are having an issue. The install
: went fine, but when I call up a test page that has the following code:
:
: <asp:label text="Hello World" runat="server"/>
:
: I just get a blank page...the server control is not rendered. When I view
: the source, the above text is just sent through as part of the HTML page.
: Does anyone have any ideas?
:
: Thank you very much for your help!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Message #5 by "Greg Quinn" <greg@i...> on Mon, 18 Nov 2002 04:20:09 -0800
|
|
The SDK is not neccessary to run asp.net files, only the .net runtime, which
is 100 megs or so less in size.
Make sure you have installed MDAC 2.7 as well.
Greg
-----Original Message-----
From: Paul Riley [mailto:rilez@t...]
Sent: Friday, November 15, 2002 6:16 AM
To: ASP.NET
Subject: [aspx] RE: ***URGENT*** aspx installation issues
Try reinstalling the SDK
-----Original Message-----
From: bmcelhany@h... [mailto:bmcelhany@h...]
Sent: 15 November 2002 14:22
To: ASP.NET
Subject: [aspx] ***URGENT*** aspx installation issues
Hello,
We installed the .NET redistributable (& service pack 2) on our
production
web server last night (Win2K/IIS 5.0) and are having an issue. The
install
went fine, but when I call up a test page that has the following code:
<asp:label text="Hello World" runat="server"/>
I just get a blank page...the server control is not rendered. When I
view
the source, the above text is just sent through as part of the HTML
page.
Does anyone have any ideas?
Thank you very much for your help!
Brian
Message #6 by "Greg Quinn" <greg@i...> on Mon, 18 Nov 2002 09:37:03 -0800
|
|
Incorrect,
An asp:label does not need to be within a form tag.
If a control needs to be in a server side form tag, an exception will be
thrown, not a blank screen.
-----Original Message-----
From: Clif Dunaway [mailto:csdunaway@y...]
Sent: Friday, November 15, 2002 6:59 AM
To: ASP.NET
Subject: [aspx] Re: ***URGENT*** aspx installation issues
You need to place the code within a for, like this:
<html>
<body>
<form runat="server" >
<asp:label text="Hello World" runat="server"/>
</form>
</body>
</html>
bmcelhany@h... wrote:Hello,
We installed the .NET redistributable (& service pack 2) on our production
web server last night (Win2K/IIS 5.0) and are having an issue. The install
went fine, but when I call up a test page that has the following code:
I just get a blank page...the server control is not rendered. When I view
the source, the above text is just sent through as part of the HTML page.
Does anyone have any ideas?
Thank you very much for your help!
Brian
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
|
|
 |