no 'hello world' in .asp ???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Not sure if I am in the correct thread .. please redirect accordingly.

I am trying to write my first .asp file in Notepad according to a tutorial
and load via my FTP to my website.

Running XP Pro/OfficePro 2002 ...

Have IIS checked in XP and Active server pages checked in FP.

Have followed tutorial diligently and happily notepad is saved as *.asp.

However, when opened the file attempts to open in image/fax viewer(?) and
nothing .. no preview ???

Attempt to open 'in Browser' via FP results in the same blank page although
the source is intact.

The tutorial script is:

<html>
<head>
<title>My First ASP Page</title>
</head>
<body bgcolor="white" text="black">

<%
'Dimension variables
Dim strMessage

'Place the value Hello World into the variable strMessage
strMessage = "Hello World"

'Write the contents of the variable strMessage to the web page
Response.Write (strMessage)

'Write line break into the web page
Response.Write ("<br>")

'Write the server time on the web page using the VBScript Time() function
Response.Write ("The time on the server is: " & Time())

'Close the server script
%>

</body>
</html>

All assitance will be appreciated ...
 
Rob Smith said:
Not sure if I am in the correct thread .. please redirect accordingly.

I am trying to write my first .asp file in Notepad according to a tutorial
and load via my FTP to my website.

Running XP Pro/OfficePro 2002 ...

Have IIS checked in XP and Active server pages checked in FP.

Have followed tutorial diligently and happily notepad is saved as *.asp.

However, when opened the file attempts to open in image/fax viewer(?) and
nothing .. no preview ???

Attempt to open 'in Browser' via FP results in the same blank page although
the source is intact.

The tutorial script is:

<html>
<head>
<title>My First ASP Page</title>
</head>
<body bgcolor="white" text="black">

<%
'Dimension variables
Dim strMessage

'Place the value Hello World into the variable strMessage
strMessage = "Hello World"

'Write the contents of the variable strMessage to the web page
Response.Write (strMessage)

'Write line break into the web page
Response.Write ("<br>")

'Write the server time on the web page using the VBScript Time() function
Response.Write ("The time on the server is: " & Time())

'Close the server script
%>

</body>
</html>

All assitance will be appreciated ...

Hi Rob,

This group is for general support questions for Windows XP.

You might want to try posting this message to the following community group.
news://msnews.microsoft.com/microsoft.public.inetserver.asp.general
 
Back
Top