IIS Server - IIS does not interpret asp page

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > August 2004 > IIS does not interpret asp page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IIS does not interpret asp page

2004-08-27, 6:19 pm

I am unable to get any ASP page to work. Here is a simple ASP file named
"Show Time.asp" that doesn't return the TIME. All that is displayed is the
text "At the tone, the time will be:"
<html>
<head><title>Show Time</title></head>
<body>
At the tone, the time will be: <%=TIME()%>
</body>
</html>
This file is located in a folder named "SDS" directly below the "wwwroot"
folder.

Does anyone know how to fix this problem?


Ken Schaefer

2004-08-27, 6:19 pm

How are you opening the file?

http://localhost/show%20time.asp or are you just double-clicking on it in
Explorer? You need to do the former, not the latter. It's Active *Server*
Pages, and they need to be requested through a webserver, so that the code
can be processed.

Cheers
Ken

<westernnord@webtv.net> wrote in message
news:OHR6RM8iEHA.1048@tk2msftngp13.phx.gbl...
>I am unable to get any ASP page to work. Here is a simple ASP file named
> "Show Time.asp" that doesn't return the TIME. All that is displayed is the
> text "At the tone, the time will be:"
> <html>
> <head><title>Show Time</title></head>
> <body>
> At the tone, the time will be: <%=TIME()%>
> </body>
> </html>
> This file is located in a folder named "SDS" directly below the "wwwroot"
> folder.
>
> Does anyone know how to fix this problem?
>
>



2004-08-27, 6:19 pm

Hi Ken, I was just double clicking. However, I tried accessing the page
through the web as you suggested and received the "Page cannot be displayed"
message. Do I need to change anything in IIS configuration?
Regards, Richard
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:ek8KWYAjEHA.3988@tk2msftngp13.phx.gbl...
> How are you opening the file?
>
> http://localhost/show%20time.asp or are you just double-clicking on it in
> Explorer? You need to do the former, not the latter. It's Active *Server*
> Pages, and they need to be requested through a webserver, so that the code
> can be processed.
>
> Cheers
> Ken
>
> <westernnord@webtv.net> wrote in message
> news:OHR6RM8iEHA.1048@tk2msftngp13.phx.gbl...
the[vbcol=seagreen]
"wwwroot"[vbcol=seagreen]
>
>



Jeff Cochran

2004-08-27, 6:19 pm

On Fri, 27 Aug 2004 08:20:41 -0700, <westernnord@webtv.net> wrote:

>Hi Ken, I was just double clicking. However, I tried accessing the page
>through the web as you suggested and received the "Page cannot be displayed"
>message. Do I need to change anything in IIS configuration?


What *else* did that page say? Did you browse to it on the server
itself? By URL or IP?

Jeff


>Regards, Richard
>"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
>news:ek8KWYAjEHA.3988@tk2msftngp13.phx.gbl...
>the
>"wwwroot"
>


2004-08-27, 6:19 pm

Thanks Ken and Jeff for your suggestions. The pages are now displaying. The
problem lies with Norton AntiVirus. When you install a program (IIS) from a
CD-ROM and Norton AntiVirus is installed, problems do occur. I removed
Norton from my system, uninstalled IIS and reinstalled it again. All is
well.....

Thanks again, Richard

"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:413671d3.332266333@msnews.microsoft.com...
> On Fri, 27 Aug 2004 08:20:41 -0700, <westernnord@webtv.net> wrote:
>
displayed"[vbcol=seagreen]
>
> What *else* did that page say? Did you browse to it on the server
> itself? By URL or IP?
>
> Jeff
>
>
in[vbcol=seagreen]
*Server*[vbcol=seagreen]
code[vbcol=seagreen]
named[vbcol=seagreen]
is[vbcol=seagreen]
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com