IIS Setup

Discussion in 'ASP General' started by David C. Holley, Jun 4, 2004.

  1. I'm a bit fed up with having to constantly change my INCLUDE statements
    from INCLUDE FILE to INCLUDE VIRTUAL when I'm ready to put a new page
    out on my webserver. How can I configure IIS on my WinXP Laptop to mimic
    how my hosting company has their server setup?

    David H.
     
    David C. Holley, Jun 4, 2004
    #1
    1. Advertising

  2. David C. Holley

    Roland Hall Guest

    "David C. Holley" wrote in message
    news:%...
    : I'm a bit fed up with having to constantly change my INCLUDE statements
    : from INCLUDE FILE to INCLUDE VIRTUAL when I'm ready to put a new page
    : out on my webserver. How can I configure IIS on my WinXP Laptop to mimic
    : how my hosting company has their server setup?

    Hi David...

    I'm not sure what you're getting at. I wasn't aware the host had anything
    to do with whether you use FILE or VIRTUAL. I can use either but they are
    referenced differently, as I'm sure you're aware.

    I work with Visual Studio and always use virtual and never have any issues.
    Is your local file structure different than your remote file structure?

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
    WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
    MSDN Library - http://msdn.microsoft.com/library/default.asp
     
    Roland Hall, Jun 4, 2004
    #2
    1. Advertising

  3. David C. Holley

    David Holley Guest

    No, the file structure is an exact replicate of that on my PC. I think
    that it has to due with how my host has setup the permissions on the
    server and various security-realted settings.

    Here's the specific error log entry

    2004-06-04 12:58:11 127.0.0.1 - W3SVC1 GET
    /gatewayorlando/content/home.asp
    |19|ASP_0126|Include_file_not_found|321|ASP_0126|Include_file_not_found
    500 160 ASPSESSIONIDAQSQSCTS=MNAHLBPBOGDNJEJCANNBFHEK -

    The error stems from:
    <!-- #include virtual="/contentincludefiles/siteindex.inc"-->

    David H.

    *** Sent via Devdex http://www.devdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    David Holley, Jun 4, 2004
    #3
  4. David C. Holley

    Roland Hall Guest

    "David Holley" wrote in message
    news:%...
    : No, the file structure is an exact replicate of that on my PC. I think
    : that it has to due with how my host has setup the permissions on the
    : server and various security-realted settings.
    :
    : Here's the specific error log entry
    :
    : 2004-06-04 12:58:11 127.0.0.1 - W3SVC1 GET
    : /gatewayorlando/content/home.asp
    : |19|ASP_0126|Include_file_not_found|321|ASP_0126|Include_file_not_found
    : 500 160 ASPSESSIONIDAQSQSCTS=MNAHLBPBOGDNJEJCANNBFHEK -
    :
    : The error stems from:
    : <!-- #include virtual="/contentincludefiles/siteindex.inc"-->

    Is this error on your site or the hosts?
    I thought you said, in your OP, that you had to change TO virtual?! What
    exactly do you do once you move the file to the web host to make it work?

    This error is telling me /gatewayorlando/content/home.asp has a problem
    finding /contentincludefiles/siteindex.inc and you are saying these files
    are actually in these locations?

    They would be at: ?
    http://domain.com/gatewayorlando/content/home.asp
    http://domain.com/contentincludefiles/siteindex.inc

    Is the host running on Windows/IIS or *nix/Apache/Chili!Soft?

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
    WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
    MSDN Library - http://msdn.microsoft.com/library/default.asp
     
    Roland Hall, Jun 5, 2004
    #4
  5. David C. Holley

    David Holley Guest

    The error message delievered is the result of using INCLUDE VIRTUAL when
    I try to access the page using LOCALHOST. Using INCLUDE VIRTUAL works
    fine accessing it via www.gatewayorlando.com. If a leave the INCLUDE
    FILEs in the pages, I get the following error message when accessing the
    page via www.gatewayorlando.com

    <!-- #include file="/contentincludefiles/siteindex.inc"-->
    2004-06-05 19:14:17 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
    /content/linksChooseCategoryASP.asp |23|ASP_0130|Invalid_File_attribute
    302 0 341 388 110 HTTP/1.1 www.gatewayorlando.com
    Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.0.3705) -
    -

    using
    <!-- #include file="../contentincludefiles/siteindex.inc"-->
    The error is
    2004-06-05 19:16:42 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
    /content/linksChooseCategoryASP.asp |23|ASP_0131|Disallowed_Parent_Path
    302 0 341 388 20 HTTP/1.1 www.gatewayorlando.com
    Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.0.3705) -
    -



    David C. Holley
    www.gatewayorlando.com

    *** Sent via Devdex http://www.devdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    David Holley, Jun 5, 2004
    #5
  6. David C. Holley

    Jeff Cochran Guest

    On Sat, 05 Jun 2004 12:26:26 -0700, David Holley
    <> wrote:

    >The error message delievered is the result of using INCLUDE VIRTUAL when
    >I try to access the page using LOCALHOST. Using INCLUDE VIRTUAL works
    >fine accessing it via www.gatewayorlando.com. If a leave the INCLUDE
    >FILEs in the pages, I get the following error message when accessing the
    >page via www.gatewayorlando.com


    So don't use "localhost". Use the IP address instead when testing.
    An INCLUDE VIRTUAL should work as long as the folder structure is the
    same on your host and dev systems.

    Jeff

    >
    ><!-- #include file="/contentincludefiles/siteindex.inc"-->
    >2004-06-05 19:14:17 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
    >/content/linksChooseCategoryASP.asp |23|ASP_0130|Invalid_File_attribute
    >302 0 341 388 110 HTTP/1.1 www.gatewayorlando.com
    >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.0.3705) -
    >-
    >
    >using
    ><!-- #include file="../contentincludefiles/siteindex.inc"-->
    >The error is
    >2004-06-05 19:16:42 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
    >/content/linksChooseCategoryASP.asp |23|ASP_0131|Disallowed_Parent_Path
    >302 0 341 388 20 HTTP/1.1 www.gatewayorlando.com
    >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.0.3705) -
    >-
    >
    >
    >
    >David C. Holley
    >www.gatewayorlando.com
    >
    >*** Sent via Devdex http://www.devdex.com ***
    >Don't just participate in USENET...get rewarded for it!
     
    Jeff Cochran, Jun 5, 2004
    #6
  7. David C. Holley

    David Holley Guest

    David Holley, Jun 6, 2004
    #7
  8. David C. Holley

    David Holley Guest

    Never mind, its 127.1.1.1, however when I tried it, I still got the FILE
    NOT FOUND error.





    David C. Holley
    www.gatewayorlando.com

    *** Sent via Devdex http://www.devdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    David Holley, Jun 6, 2004
    #8
  9. David C. Holley

    David Holley Guest

    [BANG] STUPID! [BANG] STUPID! [BANG] STUPID! [BANG]
    (Pardon me for banging my head up against the wall.)

    I overlooked the fact that I added another directory level under the
    wwwroot on my laptop which does not exist on the production web server.

    David C. Holley
    www.gatewayorlando.com

    *** Sent via Devdex http://www.devdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    David Holley, Jun 6, 2004
    #9
  10. David C. Holley

    Roland Hall Guest

    "David Holley" wrote in message
    news:...
    : [BANG] STUPID! [BANG] STUPID! [BANG] STUPID! [BANG]
    : (Pardon me for banging my head up against the wall.)

    Thanks for the clarification. I thought you were shooting yourself with the
    stupid gun. Probably same effect! I keep mine fully loaded. (O:=

    : I overlooked the fact that I added another directory level under the
    : wwwroot on my laptop which does not exist on the production web server.

    Ya', that's probably an issue. BTW... localhost is always 127.0.0.1

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
    WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
    MSDN Library - http://msdn.microsoft.com/library/default.asp
     
    Roland Hall, Jun 6, 2004
    #10
  11. Hey, didn't you create a new website a six months back or so? I seem to
    recall that we exchanged an email or to.

    David H
    P.S. How's your Monty?

    Roland Hall wrote:
    > "David Holley" wrote in message
    > news:...
    > : [BANG] STUPID! [BANG] STUPID! [BANG] STUPID! [BANG]
    > : (Pardon me for banging my head up against the wall.)
    >
    > Thanks for the clarification. I thought you were shooting yourself with the
    > stupid gun. Probably same effect! I keep mine fully loaded. (O:=
    >
    > : I overlooked the fact that I added another directory level under the
    > : wwwroot on my laptop which does not exist on the production web server.
    >
    > Ya', that's probably an issue. BTW... localhost is always 127.0.0.1
    >
     
    David C. Holley, Jun 7, 2004
    #11
  12. I meant HOW'S YOUR *BROTHER* MONTY?

    Roland Hall wrote:

    > "David Holley" wrote in message
    > news:...
    > : [BANG] STUPID! [BANG] STUPID! [BANG] STUPID! [BANG]
    > : (Pardon me for banging my head up against the wall.)
    >
    > Thanks for the clarification. I thought you were shooting yourself with the
    > stupid gun. Probably same effect! I keep mine fully loaded. (O:=
    >
    > : I overlooked the fact that I added another directory level under the
    > : wwwroot on my laptop which does not exist on the production web server.
    >
    > Ya', that's probably an issue. BTW... localhost is always 127.0.0.1
    >
     
    David C. Holley, Jun 7, 2004
    #12
  13. David C. Holley

    Roland Hall Guest

    "David C. Holley" <> wrote in message
    news:...
    : I meant HOW'S YOUR *BROTHER* MONTY?

    glad you clarified that but I don't have a brother.
     
    Roland Hall, Jun 7, 2004
    #13
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mythran

    IIS Setup Guru Wannabe Question

    Mythran, Nov 6, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    449
    Jeff Cochran
    Nov 7, 2003
  2. Marlene Arauz
    Replies:
    0
    Views:
    347
    Marlene Arauz
    Nov 25, 2003
  3. Hai Nguyen

    Setup development for IIS

    Hai Nguyen, Jan 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    329
    Curt_C [MVP]
    Jan 12, 2004
  4. Chris Shenton
    Replies:
    1
    Views:
    1,463
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Aug 24, 2007
  5. Intransition

    [ANN] Ruby Setup 5 (setup.rb)

    Intransition, Jan 13, 2010, in forum: Ruby
    Replies:
    0
    Views:
    424
    Intransition
    Jan 13, 2010
Loading...

Share This Page