Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Re: Punctual.aspx Doesn't Work


Message #1 by "Hovik Melkomian" <melvik@b...> on Sun, 1 Sep 2002 08:30:38 +0430
But it works dear!
I guess u havent define a Virtual Directory! did u?!

Thats all for now,
Hovik.
----- Original Message -----
From: "Michael D. Miller" <millerassoc@a...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Saturday, August 31, 2002 1:38 PM
Subject: [aspx_beginners] Punctual.aspx Doesn't Work


in Beginning ASP.NET using VB.NET, CH 1, p44:

with 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>

...only shows the text and not the actual time when I run it from my IE6
browser.  I have the complete vs.net professional edition installed, and
have separate machines for a Win2000 server and my Win98 workstation.  I
use the server as my development machine, as .net must be developed on an
NT, w2k, etc. machine.  I am also running the code from the server's,
local, IE because for some other reason, I cannot find the .aspx file from
my local win98 workstation.  The form runs, but without showing any clock
times.

Also, note that WROX's example of the same exercise does not run either,
so I think my syntax is correct.

Any ideas?
---
Beginning ASP.NET Databases using VB.NET
http://www.wrox.com/ACON11.asp?ISBN=1861006195

Beginning ASP.NET Databases using C#
http://www.wrox.com/ACON11.asp?ISBN=1861007418

These books look at how we can create data-centric ASP.NET
applications. Requiring some basic knowledge of ASP.NET,
Access and SQL the authors guide you through the process
of connecting and consuming information in a variety of
ways. They are packed full of excellent illustrative code
examples, demonstrating important fundamental principles.


Message #2 by "Michael D. Miller" <millerassoc@a...> on Mon, 2 Sep 2002 17:36:26
Yes, the virtual dir has been set up according to the book.
Another fellow here said my code does work on his machine.
I am going to try reinstalling vs.net next.
During this problem solving cycle, IIS was the last thing to be 
reinstalled.  I think that has negated any files that vs.net configured IN 
IIS.

> But it works dear!
I guess u havent define a Virtual Directory! did u?!

Thats all for now,
Hovik.
Message #3 by "Hovik Melkomian" <melvik@b...> on Tue, 3 Sep 2002 11:16:34 +0430
Well then, first Install IIS then VS.NET  cuz .net will update IIS.

Hovik.
----- Original Message -----
From: "Michael D. Miller" <millerassoc@a...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, September 02, 2002 5:36 PM
Subject: [aspx_beginners] Re: Punctual.aspx Doesn't Work


Yes, the virtual dir has been set up according to the book.
Another fellow here said my code does work on his machine.
I am going to try reinstalling vs.net next.
During this problem solving cycle, IIS was the last thing to be
reinstalled.  I think that has negated any files that vs.net configured IN
IIS.

> But it works dear!
I guess u havent define a Virtual Directory! did u?!

Thats all for now,
Hovik.
---
Beginning ASP.NET Databases using VB.NET
http://www.wrox.com/ACON11.asp?ISBN=1861006195

Beginning ASP.NET Databases using C#
http://www.wrox.com/ACON11.asp?ISBN=1861007418

These books look at how we can create data-centric ASP.NET
applications. Requiring some basic knowledge of ASP.NET,
Access and SQL the authors guide you through the process
of connecting and consuming information in a variety of
ways. They are packed full of excellent illustrative code
examples, demonstrating important fundamental principles.



  Return to Index