Basic ASP problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yatin Soni

    Basic ASP problem

    Hi,
    I am fairly new to ASP. I am not getting it to display simple text.

    This is ALL the code that i have..

    <%
    response.write( "This is a test")
    %>

    the file is saved as test.asp

    I have uploaded it, and when i run it, I get the code being displayed ie.
    <%
    response.write( "This is a test")
    %>


    What am i doing wrong?
    Thanks
  • Evertjan.

    #2
    Re: Basic ASP problem

    Yatin Soni wrote on 02 nov 2004 in microsoft.publi c.inetserver.as p.general:[color=blue]
    > I am fairly new to ASP. I am not getting it to display simple text.
    >
    > This is ALL the code that i have..
    >
    > <%
    > response.write( "This is a test")
    > %>
    >
    > the file is saved as test.asp
    >
    > I have uploaded it, and when i run it, I get the code being displayed ie.
    > <%
    > response.write( "This is a test")
    > %>
    >[/color]

    Your server does not support ASP

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress,
    but let us keep the discussions in the newsgroup)

    Comment

    • Jeff Cochran

      #3
      Re: Basic ASP problem

      On 2 Nov 2004 01:03:37 -0800, soni1000@webmai l.co.za (Yatin Soni)
      wrote:
      [color=blue]
      >Hi,
      >I am fairly new to ASP. I am not getting it to display simple text.
      >
      >This is ALL the code that i have..
      >
      ><%
      >response.write ("This is a test")
      >%>
      >
      >the file is saved as test.asp
      >
      >I have uploaded it, and when i run it, I get the code being displayed ie.
      ><%
      >response.write ("This is a test")
      >%>
      >
      >
      >What am i doing wrong?[/color]

      Running it as in opening it in your browser as a page? If so, does
      your server support ASP?

      Jeff

      Comment

      Working...