|
 |
aspx_beginners thread: configration problem
Message #1 by gsivakanthan@h... on Wed, 12 Feb 2003 19:18:02
|
|
hi !
This the code
=============
<script language="vb" runat="server">
Sub Page_Load()
time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
End Sub
</script>
<html>
<head><title>The Punctual Web Server</title></head>
<body>
<h1>Welcome</h1>
In WebServerLand the time is currently:
<asp:label id="time" runat="server" />
</body>
</html>
I have installed Visual studio.net in my Pc, but when I run this piece of
code first time I couldn?t get the correct out put. I am getting only html
out put. I couldn?t get the time, When I click the view source I could see
the server side code as well
thnak you
Message #2 by "Jerry Lanphear" <jerrylan@q...> on Wed, 12 Feb 2003 12:20:29 -0700
|
|
Your ASP.NET installation is probably not set up properly. You must first
install IIS then the .NET framework, then Service Pack 2 (SP2). For more
information do a Google search on the following file "machine.config"
Regards
Regards
----- Original Message -----
From: <gsivakanthan@h...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Wednesday, February 12, 2003 7:18 PM
Subject: [aspx_beginners] configration problem
> hi !
>
> This the code
> =============
>
> <script language="vb" runat="server">
> Sub Page_Load()
> time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
> End Sub
> </script>
>
> <html>
> <head><title>The Punctual Web Server</title></head>
> <body>
> <h1>Welcome</h1>
> In WebServerLand the time is currently:
> <asp:label id="time" runat="server" />
> </body>
> </html>
>
>
> I have installed Visual studio.net in my Pc, but when I run this piece of
> code first time I couldn't get the correct out put. I am getting only html
> out put. I couldn't get the time, When I click the view source I could see
> the server side code as well
>
>
> thnak you
>
>
Message #3 by "Aaron Seet" <aspfriends@i...> on Thu, 13 Feb 2003 11:23:56 +0800
|
|
Look at your web site Home Directory > Application Configuration properties:
is .aspx registered to be handled by
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll ?
If not run
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i
----- Original Message -----
From: <gsivakanthan@h...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Wednesday, February 12, 2003 19:18
Subject: [aspx_beginners] configration problem
I have installed Visual studio.net in my Pc, but when I run this piece of
code first time I couldn?t get the correct out put. I am getting only html
out put. I couldn?t get the time, When I click the view source I could see
the server side code as well
Message #4 by gsivakanthan@h... on Sun, 16 Feb 2003 17:29:29
|
|
Thank you very much, According to u it's work
Look at your web site Home Directory > Application Configuration
properties:
is .aspx registered to be handled by
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll ?
If not run
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -i
----- Original Message -----
From: <gsivakanthan@h...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Wednesday, February 12, 2003 19:18
Subject: [aspx_beginners] configration problem
I have installed Visual studio.net in my Pc, but when I run this piece of
code first time I couldn?t get the correct out put. I am getting only html
out put. I couldn?t get the time, When I click the view source I could see
the server side code as well
|
|
 |