|
Subject:
|
Chapter 1. Punctual.aspx
|
|
Posted By:
|
dad62896
|
Post Date:
|
12/7/2003 5:36:18 PM
|
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>
|
|
Reply By:
|
dad62896
|
Reply Date:
|
12/8/2003 10:10:41 PM
|
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.aspx?id=kb;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.
|
|
Reply By:
|
douknownam
|
Reply Date:
|
12/9/2003 11:59:44 AM
|
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?
|
|
Reply By:
|
Imar
|
Reply Date:
|
12/9/2003 12:03:37 PM
|
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.
|
|
Reply By:
|
douknownam
|
Reply Date:
|
12/9/2003 9:43:45 PM
|
that's what I've been trying to find out.. i cannot see a Microsoft .NET folder in the windows folder..
|
|
Reply By:
|
Imar
|
Reply Date:
|
12/10/2003 1:51:47 AM
|
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.
|
|
Reply By:
|
douknownam
|
Reply Date:
|
12/10/2003 9:29:17 AM
|
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.
|
|
Reply By:
|
dad62896
|
Reply Date:
|
12/11/2003 3:26:19 PM
|
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
|
|
Reply By:
|
terp
|
Reply Date:
|
1/27/2004 11:46:10 AM
|
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.
|
|
Reply By:
|
Imar
|
Reply Date:
|
1/27/2004 12:11:27 PM
|
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.
|