Wrox Programmer Forums
|
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 December 7th, 2003, 06:36 PM
Registered User
 
Join Date: Dec 2003
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>
 
Old December 8th, 2003, 11:10 PM
Registered User
 
Join Date: Dec 2003
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.
 
Old December 9th, 2003, 12:59 PM
Registered User
 
Join Date: Dec 2003
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?
 
Old December 9th, 2003, 01:03 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.
 
Old December 9th, 2003, 10:43 PM
Registered User
 
Join Date: Dec 2003
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..
 
Old December 10th, 2003, 02:51 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.
 
Old December 10th, 2003, 10:29 AM
Registered User
 
Join Date: Dec 2003
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.
 
Old December 11th, 2003, 04:26 PM
Registered User
 
Join Date: Dec 2003
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

 
Old January 27th, 2004, 12:46 PM
Registered User
 
Join Date: Jan 2004
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.



 
Old January 27th, 2004, 01:11 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.





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





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