Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Still having problem with ASP

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
US
First, i thought it has something to do with the way I set-up PWS on my PC. The set-up of the transaction server failed. I downloaded a "fixer" for this from msdn and after hours of working with it i finally got it right. But this didn't resolve my original problem - the ASP code still didn't work on this simple code:

<HTML>

<BODY>

<B>Welcome to my webpage hosted on PWS!</B><BR>

The time is now: <%=TIME%><BR>

</BODY>

</HTML>

The output is:

Welcome to my webpage hosted on PWS!
The time is now:

Do i need to install anything else beside PWS?

Any help will be greatly appreciated!!!





 
Thanks Nick but I had the same problem with this block of code:
<%@ LANGUAGE = &quot;VBScript&quot; %>
<html><head></head>
<body>
Today is <%= Now %>.
<% if Weekday(Now) = vbSaturday then
response.write &quot;Have a good weekend!&quot;
else
response.write &quot;Hang in there.....!&quot;
end if %>
</body></html>

The output was:

Today is.Have a good weekend!Hang in there......!

 
stingman1,

yes i did! i finally figured it out though. for some reason, when i double clicked on the .asp file it opened as C:\(filename) instead of the url address which is http:\\localhost\(filename). so what i did is open up ie and type-in the complete url address and it worked.

thanks, stingman1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top