Results 1 to 10 of 10
  1. #1
    New Lounger
    Join Date
    Jun 2002
    Location
    Iowa
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IIS and ASP Pages (XP PRo)

    I am trying to run a shoping cart demo program on Win XP Pro the HTML page is ok but when you click on a link to an ASP page all I get is the text code and not the page. Any help gang!

    David A.

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    Are you running the demo locally, from your Windows XP computer instead of accessing it across the Internet? How are you viewing the pages? ASP pages will not appear in a preview window; they must be delivered from the web server. If you don't have IIS set up properly this could be the result.

    More details please?
    -Mark

  3. #3
    New Lounger
    Join Date
    Jun 2002
    Location
    Iowa
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    HI Mark
    I am running locally and I have IIS running. When I first tryed to run IIS Admin there was a dependencies issue so I fix that and was able to get it running but not the ASP pages.

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    (Mark - forgive me for cutting in...)

    Hi Dave,

    In order to have the ASP code processed, you'll have to type your local URL in the web browser rather than the File's path...

    Also, be sure that the folder containing the asp file is shared as a web folder.

    For example, my computer's name is MarkJ (imagine that!) . To get to my Root Web folder I'll use "http://markj/myfile.asp" (Rather than "C:Inetpubwwwrootmyfile.asp")

    Hope this helps

  5. #5
    New Lounger
    Join Date
    Jun 2002
    Location
    Iowa
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    Thanks MarkJ I will give it a try

  6. #6
    New Lounger
    Join Date
    Jun 2002
    Location
    Iowa
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    Hi again MarkJ
    I have tryed everything and can not get it working. I am sharing the c:vpasp but I do not see where to say as web folder only to share. I quest I will have to put it out on my web site.
    Thanks
    Dave A.

  7. #7
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    You need to set up a web in IIS and point it to the C:VPASP directory as the local source. Open the IIS administrative console and add a virtual directory; for local testing make sure that you enable write and read access rights.

    MarkJ - don't feel the least bit sorry for jumping in. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    -Mark

  8. #8
    3 Star Lounger
    Join Date
    Mar 2001
    Location
    Minneapolis, Minnesota, USA
    Posts
    262
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    ...and yet somebody else butts in!

    Hi, Dave! I think I see what's going on; you have to create a virtual folder to point at the directory C:vpasp. Choose Start -> Programs -> Administrative Tools and launch the IIS snap in. Expand your computer name, then Web Sites. Right-click on Default Web Site, and choose to create a new virtual directory. Follow the wizard being sure to make C:vpasp be the "Web Site Content Directory", and make sure that Run Scripts permissions are set on the virtual directory.

    Let's assume the alias you gave the new virtual directory was ShaneIsCool <img src=/S/doh.gif border=0 alt=doh width=15 height=15> . As has already been mentioned, you have to address your ASP page via HTTP thusly: http://localhost/ShaneIsCool/MyASPPage.asp

    Best of luck!
    <font face="Comic Sans MS"><font color=blue>~Shane</font color=blue></font face=comic>

  9. #9
    New Lounger
    Join Date
    Jun 2002
    Location
    Iowa
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    Hi Shane
    I can get to the IIS snap in but I con not expand it. How do I create a virtual directory?

    David A.

  10. #10
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: IIS and ASP Pages (XP PRo)

    You can also Right-Click a folder, select Properties, then click the Web Sharing tab, then select "Share this folder"

    If you do not see the Web Sharing tab on the folder's property dialog, then you may not have IIS properly installed. If not, refer to <post#=171285>post 171285</post#>

    Hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •