Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. about classic asp

about classic asp

Scheduled Pinned Locked Moved Web Development
tutorialhtmlcomwindows-adminquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tiwal
    wrote on last edited by
    #1

    I have been playing around with some very basic code in classic asp . I have the following simple page that I tried to reach on my own pc :

    <html>

    <body>

    <%
    d=weekday(Date)

    Select Case d
    Case 1
    response.write("Sleepy Sunday")
    Case 2
    response.write("Monday again!")
    Case 3
    response.write("Just Tuesday!")
    Case 4
    response.write("Wednesday!")
    Case 5
    response.write("Thursday...")
    Case 6
    response.write("Finally Friday!")
    Case Else
    response.write("Super Saturday!!!!")
    End Select
    %>

    This example demonstrates the "Select Case" statement.

    You will receive a different greeting based on what day it is.

    Note that Sunday=1, Monday=2, Tuesday=3, etc.

    </body>
    </html>

    (copy-pasted from the site http://www.w3schools.com/[^]) I just can see the asp code , not the effect of it on the browser. Given that the code is probably reliable, coming from such a site, and it should work, I can only suppose my IIS7 settings are not the right ones to allow classic asp code to run . I have very poor experience on classic asp and its configuration on IIS . Can anyone give me hints about how to make the whole thing work ?

    F 1 Reply Last reply
    0
    • T tiwal

      I have been playing around with some very basic code in classic asp . I have the following simple page that I tried to reach on my own pc :

      <html>

      <body>

      <%
      d=weekday(Date)

      Select Case d
      Case 1
      response.write("Sleepy Sunday")
      Case 2
      response.write("Monday again!")
      Case 3
      response.write("Just Tuesday!")
      Case 4
      response.write("Wednesday!")
      Case 5
      response.write("Thursday...")
      Case 6
      response.write("Finally Friday!")
      Case Else
      response.write("Super Saturday!!!!")
      End Select
      %>

      This example demonstrates the "Select Case" statement.

      You will receive a different greeting based on what day it is.

      Note that Sunday=1, Monday=2, Tuesday=3, etc.

      </body>
      </html>

      (copy-pasted from the site http://www.w3schools.com/[^]) I just can see the asp code , not the effect of it on the browser. Given that the code is probably reliable, coming from such a site, and it should work, I can only suppose my IIS7 settings are not the right ones to allow classic asp code to run . I have very poor experience on classic asp and its configuration on IIS . Can anyone give me hints about how to make the whole thing work ?

      F Offline
      F Offline
      F ES Sitecore
      wrote on last edited by
      #2

      Have you installed ASP on IIS? http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis[^]

      T 1 Reply Last reply
      0
      • F F ES Sitecore

        Have you installed ASP on IIS? http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis[^]

        T Offline
        T Offline
        tiwal
        wrote on last edited by
        #3

        I followed instructions about installing it on IIS 7.0 on Windows 7, which is the configuration I have , but I am not sure it is all I need ..... your link is about installing it on Windows 2012 server , I think it is not the same, right ?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups