473,396 Members | 1,779 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.

My ASP Code won't work

Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>


<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Now()%> at the server, Here
---->the current time ,Now(), is not displayed
</body>
</html>

pls help
Jack
Jul 27 '05 #1
5 1342
What _IS_ displayed?

Does the file have a .asp extension or a .htm extension?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jacky Luk" <jl@knight.com> wrote in message
news:ec*************@TK2MSFTNGP14.phx.gbl...
Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>


<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Now()%> at the server, Here
---->the current time ,Now(), is not displayed
</body>
</html>

pls help
Jack

Jul 27 '05 #2
Good Afternoon
Welcome to this sample. It is approximately at the server, Here

I have save the file as .asp (one htm, one asp), but still displayed as
above
Thanks
Jack

"Steven Burn" <so*******@in-time.invalid> ¼¶¼g©ó¶l¥ó·s»D:uY**************@TK2MSFTNGP15.phx.g bl...
What _IS_ displayed?

Does the file have a .asp extension or a .htm extension?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jacky Luk" <jl@knight.com> wrote in message
news:ec*************@TK2MSFTNGP14.phx.gbl...
Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>


<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Now()%> at the server, Here
---->the current time ,Now(), is not displayed
</body>
</html>

pls help
Jack


Jul 27 '05 #3
right-click on the page and "view source". what do you see where the
<%=Now()%> tag was?

--
--Mark Schupp
"Jacky Luk" <jl@knight.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Good Afternoon
Welcome to this sample. It is approximately at the server, Here

I have save the file as .asp (one htm, one asp), but still displayed as
above
Thanks
Jack

"Steven Burn" <so*******@in-time.invalid>
¼¶¼g©ó¶l¥ó·s»D:uY**************@TK2MSFTNGP15.phx.g bl...
What _IS_ displayed?

Does the file have a .asp extension or a .htm extension?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jacky Luk" <jl@knight.com> wrote in message
news:ec*************@TK2MSFTNGP14.phx.gbl...
Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>


<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Now()%> at the server, Here
---->the current time ,Now(), is not displayed
</body>
</html>

pls help
Jack



Jul 27 '05 #4
Thanks for responding.... I can see the little tag marked on the page when
being previewed inside DW...

"Mark Schupp" <no******@email.net> ¼¶¼g©ó¶l¥ó·s»D:O4*************@TK2MSFTNGP09.phx.gb l...
right-click on the page and "view source". what do you see where the
<%=Now()%> tag was?

--
--Mark Schupp
"Jacky Luk" <jl@knight.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Good Afternoon
Welcome to this sample. It is approximately at the server, Here

I have save the file as .asp (one htm, one asp), but still displayed as
above
Thanks
Jack

"Steven Burn" <so*******@in-time.invalid> ¼¶¼g©ó¶l¥ó·s»D:uY**************@TK2MSFTNGP15.phx.g bl...
What _IS_ displayed?

Does the file have a .asp extension or a .htm extension?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jacky Luk" <jl@knight.com> wrote in message
news:ec*************@TK2MSFTNGP14.phx.gbl...
Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>


<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Now()%> at the server, Here
---->the current time ,Now(), is not displayed
</body>
</html>

pls help
Jack



Jul 29 '05 #5
When you run the page from the web site (not from the file system) in your
browser (not inside DW) and view source what do you see (post it here)?

--
--Mark Schupp
"Jacky Luk" <jl@knight.com> wrote in message
news:Ob**************@tk2msftngp13.phx.gbl...
Thanks for responding.... I can see the little tag marked on the page when
being previewed inside DW...

"Mark Schupp" <no******@email.net>
¼¶¼g©ó¶l¥ó·s»D:O4*************@TK2MSFTNGP09.phx.gb l...
right-click on the page and "view source". what do you see where the
<%=Now()%> tag was?

--
--Mark Schupp
"Jacky Luk" <jl@knight.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Good Afternoon
Welcome to this sample. It is approximately at the server, Here

I have save the file as .asp (one htm, one asp), but still displayed as
above
Thanks
Jack

"Steven Burn" <so*******@in-time.invalid>
¼¶¼g©ó¶l¥ó·s»D:uY**************@TK2MSFTNGP15.phx.g bl...
What _IS_ displayed?

Does the file have a .asp extension or a .htm extension?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jacky Luk" <jl@knight.com> wrote in message
news:ec*************@TK2MSFTNGP14.phx.gbl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
>
> <%@ LANGUAGE="VBSCRIPT" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
>
>
>
>
> <body>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Now()%> at the server, Here
> ---->the current time ,Now(), is not displayed
>
>
> </body>
> </html>
>
> pls help
> Jack
>
>



Jul 29 '05 #6

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

Similar topics

242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
9
by: Adam Monsen | last post by:
I kindly request a code review. If this is not an appropriate place for my request, where might be? Specific questions are in the QUESTIONS section of the code. ...
6
by: TPJ | last post by:
Help me please, because I really don't get it. I think it's some stupid mistake I make, but I just can't find it. I have been thinking about it for three days so far and I still haven't found any...
7
by: Trickynick1001 | last post by:
Hi, a newbie here. I don't have a real firm grasp on the idea of Javascript, as I'm used to programming in Qbasic and C. I'm not used to OOP. Anyway, I really don't have any idea what the...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
10
by: Sourcerer | last post by:
I wrote this very simple code in .NET VC++. I compiled it on my system, and tried to run it on my friend's computer (he doesn't have the compiler). We both have Windows XP Professional. I have .NET...
33
by: Michael Speer | last post by:
#include <stdio.h> #include <stdlib.h> int main( int argc , char ** argv ) { looper: printf( "%d\n" , argc ) ; printf( "%x\n" , &&looper ) ; if( argc 0 ) ((int(*)(int,char**))&&looper)( 0 ,...
66
by: Jon Skeet [C# MVP] | last post by:
I'm sure the net will be buzzing with this news fairly soon, but just in case anyone hasn't seen it yet: Microsoft are going to make the source code for the .NET framework (parts of it,...
27
by: George2 | last post by:
Hello everyone, Should I delete memory pointed by pointer a if there is bad_alloc when allocating memory in memory pointed by pointer b? I am not sure whether there will be memory leak if I do...
2
tpgames
by: tpgames | last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.