Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 29th, 2003, 02:25 AM
Registered User
 
Join Date: Jul 2003
Location: Los Angeles, CA, USA.
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
</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>

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?


Jim
  #2 (permalink)  
Old August 11th, 2003, 09:42 AM
Authorized User
 
Join Date: Jun 2003
Location: Indianapolis, IN, USA.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

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

http://www.eggheadcafe.com/PrintSear...asp?LINKID=368

http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxtbsVisualStudioNETSoftwareRequirements.asp

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
  #3 (permalink)  
Old August 18th, 2003, 01:02 AM
Registered User
 
Join Date: Aug 2003
Location: Karachi, Sind, Pakistan.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Hardware and Sincerety is the key to success
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:28 AM.


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