How to set up PWS for ASP


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to set up PWS for ASP

  1. #1
    Kevin Guest

    How to set up PWS for ASP


    Could someone please help me. I'm trying to get an ASP page
    to run on my Personal Web Server but it just doesn't work.
    When I click on View Source in IE I see all the code that's supposed to run
    on the server. I think there is something that
    I have to set to enable processing of ASP pages but I just can't
    seem to get anywhere. I've tried the same thing on Peer Web Services on NT
    workstation which is what I want to use but it still doesn't work.

    Any pointers would be greatly appreciated.

    Thanks in advance

    Kevin

  2. #2
    jEFF Guest

    Re: How to set up PWS for ASP


    PWS must be running.
    From the PW manager window you must add your virtual web as a sub-folder
    of your "HOME" folder.
    Using the advanced tab, add your site with a friendly name, then add the
    physical path to this virtual site.
    OK this construction, click the "main" button, then click the URL to your
    home page under the Publishing heading.
    Once your "home page" opens, in the address bar in IE, append your site to
    the home address, like this:
    http://homepage/mysite/myasppage
    (If myasppage is: default.htm or default.asp, then you do not have to refer
    to it directly in the address bar.)
    Click enter, and your virtual website should run in the browser.
    Right clicking and choosing "view source" at this time, should only return
    processed HTML, not .asp script.


    "Kevin" <*@*.*> wrote:
    >
    >Could someone please help me. I'm trying to get an ASP page
    >to run on my Personal Web Server but it just doesn't work.
    >When I click on View Source in IE I see all the code that's supposed to

    run
    >on the server. I think there is something that
    >I have to set to enable processing of ASP pages but I just can't
    >seem to get anywhere. I've tried the same thing on Peer Web Services on

    NT
    >workstation which is what I want to use but it still doesn't work.
    >
    >Any pointers would be greatly appreciated.
    >
    >Thanks in advance
    >
    >Kevin



  3. #3
    Marc D'Aoust Guest

    Re: How to set up PWS for ASP

    How are you accessing the page

    Does your address look like this:
    1: C:\inetpub\wwwroot\somdirectory\mypage.asp
    or
    2: http://mycomputername/somedirestory/mypage.asp

    If you want PWS/IIS to interpret the script and return an HTML stream, you
    have to open it using method 2. Method one just opens the file without
    interpreting the script.

    --
    Marc D'Aoust
    Director of R&D
    OSTNET Open Source Technologies Inc.
    mailto:marc_daoust@hotmail,com


    "Kevin" <*@*.*> wrote in message news:392548e7$1@news.devx.com...
    >
    > Could someone please help me. I'm trying to get an ASP page
    > to run on my Personal Web Server but it just doesn't work.
    > When I click on View Source in IE I see all the code that's supposed to

    run
    > on the server. I think there is something that
    > I have to set to enable processing of ASP pages but I just can't
    > seem to get anywhere. I've tried the same thing on Peer Web Services on NT
    > workstation which is what I want to use but it still doesn't work.
    >
    > Any pointers would be greatly appreciated.
    >
    > Thanks in advance
    >
    > Kevin




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center