How to parse ASP on html document?

Discussion in 'C#' started by tdd1984, Jul 18, 2008.

  1. #1
    Is it possible to parse ASP on a HTML document? like you can with PHP?
     
    tdd1984, Jul 18, 2008 IP
  2. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello,

    Yes it is possible to do so. For that you required to change setting on IIS Server.
     
    VishalVasani, Jul 19, 2008 IP
  3. wordofmind

    wordofmind Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes you can use HTML or XHTML in any .asp page.
     
    wordofmind, Jul 19, 2008 IP
  4. tdd1984

    tdd1984 Well-Known Member

    Messages:
    2,357
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    150
    #4
    how do we change the settings on the IIS server?
     
    tdd1984, Jul 19, 2008 IP
  5. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hello,

    To do this you required dedicated server or ask your shared hosting provider to do for you.

    Yes you can process asp in .html files. For that you required to changes setting in IIS.

    Following are the step to change this setting:

    1) Open IIS
    2) Select your Website
    3) Press Right Click Mouse Button & click on Properties
    4) Select Home Directory Tab & click on Configuration Button
    5) In Application Mapping & If .html Extension is their & select it & click edit button
    6) In Edit Dialog Box In Executable text box add 'C:\WINNT\System32\inetsrv\asp.dll' or path to asp.dll & press ok..

    Your done with this now your .html page will process the asp code....
     
    VishalVasani, Jul 20, 2008 IP
  6. tdd1984

    tdd1984 Well-Known Member

    Messages:
    2,357
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    150
    #6
    When you say select your website are you referring to the SERVER?

    We have our site hosted on a web host..
     
    tdd1984, Jul 29, 2008 IP
  7. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hello,

    Case 1 : If your website is hosted on shared hosting server then you required to contact your web hosting support technician to do this step.

    Case 2: And if you have dedicated server then you can do it by yourself.
     
    VishalVasani, Jul 29, 2008 IP