473,396 Members | 2,026 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help with ASP server calls

I am new to ASP and I am having some problems that I hope someone can help
me with.

I am using WindowsXP and a book to try to learn ASP.

The book instructed me to install IIS & .Net Framework v1.1 (which I did)

In the book they gave me the following code:

<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>

which I saved under the name "test.aspx" in my "C:\Inetpub\wwwroot"
directory.

When I open http://localhost/test.aspx in internet explorer, I only see:

Welcome
In WebServerLand the time is currently:

For some reason the server side code does not execute.

How can I fix this problem? I'm guessing that there is a setup step that I
am missing somewhere.

Help!

Nov 19 '05 #1
4 1424
Hi Marek,

Try doing the steps in the Resolution section here?

http://support.microsoft.com/kb/325093/EN-US/
"Marek Krzeminski" <mm****@primus.ca> wrote in message
news:Aq****************@fe51.usenetserver.com...
I am new to ASP and I am having some problems that I hope someone can help
me with.

I am using WindowsXP and a book to try to learn ASP.

The book instructed me to install IIS & .Net Framework v1.1 (which I did)

In the book they gave me the following code:

<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>

which I saved under the name "test.aspx" in my "C:\Inetpub\wwwroot"
directory.

When I open http://localhost/test.aspx in internet explorer, I only see:

Welcome
In WebServerLand the time is currently:

For some reason the server side code does not execute.

How can I fix this problem? I'm guessing that there is a setup step that
I am missing somewhere.

Help!


Nov 19 '05 #2
Sounds like your web server or web site is not configured to run ASP.Net.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Marek Krzeminski" <mm****@primus.ca> wrote in message
news:Aq****************@fe51.usenetserver.com...
I am new to ASP and I am having some problems that I hope someone can help
me with.

I am using WindowsXP and a book to try to learn ASP.

The book instructed me to install IIS & .Net Framework v1.1 (which I did)

In the book they gave me the following code:

<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>

which I saved under the name "test.aspx" in my "C:\Inetpub\wwwroot"
directory.

When I open http://localhost/test.aspx in internet explorer, I only see:

Welcome
In WebServerLand the time is currently:

For some reason the server side code does not execute.

How can I fix this problem? I'm guessing that there is a setup step that
I am missing somewhere.

Help!

Nov 19 '05 #3
I followed the instructions in the link you provided and my ASP code now
works

HOWEVER, when I try to use Visual Studio to compile any C++ programs I get
the following error:

Build Log
------- Build started: Project: test, Configuration:
Debug|Win32 -------
Command Lines
Creating temporary file "c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000001.rsp" with
contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd
/Yu"stdafx.h" /Fp"Debug/test.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c
/Wp64 /ZI /TP
".\test.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000001.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\Marek\My Documents\Visual
Studio Projects\Temp\test\Debug\RSP000002.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd
/Yc"stdafx.h" /Fp"Debug/test.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c
/Wp64 /ZI /TP
".\stdafx.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000002.rsp" /nologo"

Output Window

Results
Build log was saved at "file://c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\BuildLog.htm"
test - 1 error(s), 0 warning(s)
I can't even make a hello world application!

Help please!


"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi Marek,

Try doing the steps in the Resolution section here?

http://support.microsoft.com/kb/325093/EN-US/
"Marek Krzeminski" <mm****@primus.ca> wrote in message
news:Aq****************@fe51.usenetserver.com...
I am new to ASP and I am having some problems that I hope someone can help
me with.

I am using WindowsXP and a book to try to learn ASP.

The book instructed me to install IIS & .Net Framework v1.1 (which I did)

In the book they gave me the following code:

<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>

which I saved under the name "test.aspx" in my "C:\Inetpub\wwwroot"
directory.

When I open http://localhost/test.aspx in internet explorer, I only see:

Welcome
In WebServerLand the time is currently:

For some reason the server side code does not execute.

How can I fix this problem? I'm guessing that there is a setup step that
I am missing somewhere.

Help!


Nov 19 '05 #4
You might want to reinstall VStudio to see if that fixes C++

"Marek Krzeminski" <mm****@primus.ca> wrote in message
news:EG*************@fe51.usenetserver.com...
I followed the instructions in the link you provided and my ASP code now
works

HOWEVER, when I try to use Visual Studio to compile any C++ programs I get
the following error:

Build Log
------- Build started: Project: test, Configuration:
Debug|Win32 -------
Command Lines
Creating temporary file "c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000001.rsp" with
contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd
/Yu"stdafx.h" /Fp"Debug/test.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c
/Wp64 /ZI /TP
".\test.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000001.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000002.rsp" with
contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MLd
/Yc"stdafx.h" /Fp"Debug/test.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c
/Wp64 /ZI /TP
".\stdafx.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\RSP000002.rsp" /nologo"

Output Window

Results
Build log was saved at "file://c:\Documents and Settings\Marek\My
Documents\Visual Studio Projects\Temp\test\Debug\BuildLog.htm"
test - 1 error(s), 0 warning(s)
I can't even make a hello world application!

Help please!


"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi Marek,

Try doing the steps in the Resolution section here?

http://support.microsoft.com/kb/325093/EN-US/
"Marek Krzeminski" <mm****@primus.ca> wrote in message
news:Aq****************@fe51.usenetserver.com...
I am new to ASP and I am having some problems that I hope someone can
help me with.

I am using WindowsXP and a book to try to learn ASP.

The book instructed me to install IIS & .Net Framework v1.1 (which I
did)

In the book they gave me the following code:

<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>

which I saved under the name "test.aspx" in my "C:\Inetpub\wwwroot"
directory.

When I open http://localhost/test.aspx in internet explorer, I only see:

Welcome
In WebServerLand the time is currently:

For some reason the server side code does not execute.

How can I fix this problem? I'm guessing that there is a setup step
that I am missing somewhere.

Help!



Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: cooldv | last post by:
i am running a website on Windows 2000 server with ASP 3 webpages and Access 2000 database. (with a hosting company) traffic is slow at this time but expect to grow. lately i have been reading...
5
by: Frank Bishop | last post by:
I need to pull a random set of records with a query. I have a table on the one side called CUSTOMER with a primary key of CustomerID. I have another table on the many side that is called CALLS and...
1
by: Dinesh Upare | last post by:
Friends, Please provide suggestions to improve the performance of webservices? The current architecture and problems : - The webservices are installed on Server1, the database server is also on...
4
by: Madhu Gopinathan | last post by:
Hi All, I am faced with a horrible hang problem. I have a COM exe server that executes some tasks. The task execution manager is a thread that manages the pool of threads, which is 4 per processor....
10
by: Joe | last post by:
Hi, Tried using the FindControl() but no luck in finidng this damn textbox having id txtFirstName. Can someone help me with this method? This is what I have been doing but it doesn't work, ...
0
by: David Hirschfield | last post by:
I have an xmlrpc client/server system that works fine, but I want to improve performance on the client side. Right now the system operates like this: client makes request from server (by...
15
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
4
by: 73k5blazer | last post by:
Hello again all.. We have a giant application from a giant software vendor that has very poor SQL. It's a PLM CAD application, that makes a call to the db for every cad node in the assembly. So...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.