Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 29th, 2003, 02:25 AM
Registered User
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Errors in Chapter 1?? ASP.NET 1.0 with VB.NET

There are inconsistencies within the text and website code. I am confused... Which is the correct code below? Refer to Chapter 01, the FIRST application: Punctual Time Server, p48

<script language="vb" runat="server">
Sub Page_Load()
time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
End Sub

<head><title>The Punctual Web Server</title></head>
  In WebServerLand the time is currently:
<asp: label id="time" runat="server" />

Note: in the line <asp: there is a space between asp: and label. The book has it both ways. Is this space significant?
In the same line, compae id="time" which appears conssitent with the line time.text=Hour(Now) ...

However, the book, page 56 says the line should read <asp:label id="hour" runat="server" />

I am only in Chapter One of the book...usually these books are excellent... but this one seems a little off... am I missing something?

I have followed every step with great rigor. The page displays correctly, but does NOT produce the time.

What did any of you do differently beyond follow every step in the book to the exact letter?

Old August 11th, 2003, 09:42 AM
Authorized User
Join Date: Jun 2003
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts


I think you have installed IIS after installing the Visual Studio .NET, if
this is the case your IIS is not configured for the ASP.NET scripts. You
need to repair your IIS for ASP.NET, browse the following link contained
information on this topic



As far as the space is concern on page 48 between <asp:Label>, it's a typo
mistake. Make sure your code should contain any space at the time of using
any ASP control such as <asp:label> or <asp:datagrid>.

I have checked the code available on the web site and its working fine on
our setup.

If this not able to solve your problem, write to us.

Jennifer D. Taylor
Wiley Technical Support
Old August 18th, 2003, 01:02 AM
Registered User
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

You are absolutely right . You just type the control with space and then check whether it is working or not .

Hardware and Sincerety is the key to success

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET: recognize errors using DTS:Package2 object dan_code SQL Server DTS 0 November 8th, 2006 06:16 AM
ASP.NET 1.1 with VB.NET 2003 chapter 1 subroger Wrox Book Feedback 2 November 11th, 2004 12:52 PM
Beg. ASP.Net eCommerce with VB.Net - Chapter 5 James Hendrix All Other Wrox Books 0 October 22nd, 2003 10:45 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.