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 December 7th, 2003, 06:36 PM
Registered User
 
Join Date: Dec 2003
Location: Frederick, MD, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 1. Punctual.aspx

The page displays the message but not the time. I have verified that my source code matches that in the book. Here is the source code when I view the page in a browser.

<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>
  #2 (permalink)  
Old December 8th, 2003, 11:10 PM
Registered User
 
Join Date: Dec 2003
Location: Frederick, MD, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was able to get the punctual.aspx form to work properly by following the directions on the following website.

http://support.microsoft.com/default...;en-us;Q306005

Basically, I think it wasn't working because there wasn't an aspx application mapping. After performing the 2 commands specified in the website above, the aspx application mapping now exists.
  #3 (permalink)  
Old December 9th, 2003, 12:59 PM
Registered User
 
Join Date: Dec 2003
Location: Orlando, FL, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the same issue.. but when I type it into the command prompt I get a message that it cannot find the path.. any suggestions?
  #4 (permalink)  
Old December 9th, 2003, 01:03 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Did you replace version with the version number of your compact framework?

There are multiple versions of the Framework, so there could also be multiple folders on your hard disk that contain the aspnet_regiis.exe file.

Take a look in your Windows folder. Then open Microsoft .NET and then Framework. What do you see?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #5 (permalink)  
Old December 9th, 2003, 10:43 PM
Registered User
 
Join Date: Dec 2003
Location: Orlando, FL, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that's what I've been trying to find out.. i cannot see a Microsoft .NET folder in the windows folder..
  #6 (permalink)  
Old December 10th, 2003, 02:51 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Right. That means you don't have the .NET Framework installed.

Go here: http://msdn.microsoft.com/netframework/, and choose Downloads Overview from the Downloads menu. Depending on what you want, choose Downloads for the .NET Framework version 1.0 or 1.1

I would assume the book discusses installing the Framework in one of its first chapters, right? Did you follow these steps (if they were there)?


Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #7 (permalink)  
Old December 10th, 2003, 10:29 AM
Registered User
 
Join Date: Dec 2003
Location: Orlando, FL, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if the book did, i missed it.. just remember following the instructs on installing iis.. but thanks for the info, will try that when I get home.
  #8 (permalink)  
Old December 11th, 2003, 04:26 PM
Registered User
 
Join Date: Dec 2003
Location: Frederick, MD, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The book walks you through installing the framework. Chapter 1, page 43 starts with installing MDAC prior to installing the framework. By the way, my version of the book says MDAC 2.7 but 2.8 is available on the website and that is what I installed. Page 44 walks you through installing the framework. You have the option of installing the redistributable (21mb) or the SDK (131mb).

Earl

  #9 (permalink)  
Old January 27th, 2004, 12:46 PM
Registered User
 
Join Date: Jan 2004
Location: , , USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
I get this message, when I run punctual.aspx. How can I fix it?
Thanks,
Kam

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.



  #10 (permalink)  
Old January 27th, 2004, 01:11 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

And what did the Event log say?

Would you mind starting a new thread for a new topic, instead of replying to an old and not / semi-related post? Makes things easier for everyone.....

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 


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
A Problem of punctual.aspx Rozen BOOK: Beginning ASP.NET 1.0 2 March 1st, 2006 04:17 AM
Ch01-punctual.aspx ywagshul BOOK: Beginning ASP.NET 1.0 2 August 15th, 2005 01:23 PM
http://localhost/5040/punctual.aspx SniffenLik BOOK: Beginning ASP.NET 1.0 10 July 21st, 2004 01:09 PM



All times are GMT -4. The time now is 07:56 PM.


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