IIS Setup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David C. Holley

    IIS Setup

    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.

  • Roland Hall

    #2
    Re: IIS Setup

    "David C. Holley" wrote in message
    news:%230GdmndS EHA.1368@TK2MSF TNGP11.phx.gbl. ..
    : 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


    Comment

    • David Holley

      #3
      Re: IIS Setup

      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|In clude_file_not_ found|321|ASP_0 126|Include_fil e_not_found
      500 160 ASPSESSIONIDAQS QSCTS=MNAHLBPBO GDNJEJCANNBFHEK -

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

      David H.

      *** Sent via Devdex http://www.devdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Roland Hall

        #4
        Re: IIS Setup

        "David Holley" wrote in message
        news:%23cRH7SjS EHA.2112@TK2MSF TNGP11.phx.gbl. ..
        : 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|In clude_file_not_ found|321|ASP_0 126|Include_fil e_not_found
        : 500 160 ASPSESSIONIDAQS QSCTS=MNAHLBPBO GDNJEJCANNBFHEK -
        :
        : The error stems from:
        : <!-- #include virtual="/contentincludef iles/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 /contentincludef iles/siteindex.inc and you are saying these files
        are actually in these locations?

        They would be at: ?



        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


        Comment

        • David Holley

          #5
          Re: IIS Setup

          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="/contentincludef iles/siteindex.inc"-->
          2004-06-05 19:14:17 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
          /content/linksChooseCate goryASP.asp |23|ASP_0130|In valid_File_attr ibute
          302 0 341 388 110 HTTP/1.1 www.gatewayorlando.com
          Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+.N ET+CLR+1.0.3705 ) -
          -

          using
          <!-- #include file="../contentincludef iles/siteindex.inc"-->
          The error is
          2004-06-05 19:16:42 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
          /content/linksChooseCate goryASP.asp |23|ASP_0131|Di sallowed_Parent _Path
          302 0 341 388 20 HTTP/1.1 www.gatewayorlando.com
          Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+.N ET+CLR+1.0.3705 ) -
          -



          David C. Holley


          *** Sent via Devdex http://www.devdex.com ***
          Don't just participate in USENET...get rewarded for it!

          Comment

          • Jeff Cochran

            #6
            Re: IIS Setup

            On Sat, 05 Jun 2004 12:26:26 -0700, David Holley
            <davidcholley@n etscape.net> wrote:
            [color=blue]
            >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[/color]

            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
            [color=blue]
            >
            ><!-- #include file="/contentincludef iles/siteindex.inc"-->
            >2004-06-05 19:14:17 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
            >/content/linksChooseCate goryASP.asp |23|ASP_0130|In valid_File_attr ibute
            >302 0 341 388 110 HTTP/1.1 www.gatewayorlando.com
            >Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+.N ET+CLR+1.0.3705 ) -
            >-
            >
            >using
            ><!-- #include file="../contentincludef iles/siteindex.inc"-->
            >The error is
            >2004-06-05 19:16:42 68.204.252.6 - W3SVC75 WWW3 206.104.130.190 80 GET
            >/content/linksChooseCate goryASP.asp |23|ASP_0131|Di sallowed_Parent _Path
            >302 0 341 388 20 HTTP/1.1 www.gatewayorlando.com
            >Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+.N ET+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![/color]

            Comment

            • David Holley

              #7
              Re: IIS Setup

              Refresh my memory the IP for the local machine is 127.0.0.0?


              David C. Holley


              *** Sent via Devdex http://www.devdex.com ***
              Don't just participate in USENET...get rewarded for it!

              Comment

              • David Holley

                #8
                Re: IIS Setup

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





                David C. Holley


                *** Sent via Devdex http://www.devdex.com ***
                Don't just participate in USENET...get rewarded for it!

                Comment

                • David Holley

                  #9
                  Re: IIS Setup

                  [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


                  *** Sent via Devdex http://www.devdex.com ***
                  Don't just participate in USENET...get rewarded for it!

                  Comment

                  • Roland Hall

                    #10
                    Re: IIS Setup

                    "David Holley" wrote in message
                    news:ezsgI51SEH A.1172@TK2MSFTN GP11.phx.gbl...
                    : [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


                    Comment

                    • David C. Holley

                      #11
                      Re: IIS Setup

                      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:[color=blue]
                      > "David Holley" wrote in message
                      > news:ezsgI51SEH A.1172@TK2MSFTN GP11.phx.gbl...
                      > : [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
                      >[/color]

                      Comment

                      • David C. Holley

                        #12
                        Re: IIS Setup

                        I meant HOW'S YOUR *BROTHER* MONTY?

                        Roland Hall wrote:
                        [color=blue]
                        > "David Holley" wrote in message
                        > news:ezsgI51SEH A.1172@TK2MSFTN GP11.phx.gbl...
                        > : [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
                        >[/color]

                        Comment

                        • Roland Hall

                          #13
                          Re: IIS Setup


                          "David C. Holley" <DavidCHolley@n etscape.net> wrote in message
                          news:ubLLUpDTEH A.3968@TK2MSFTN GP09.phx.gbl...
                          : I meant HOW'S YOUR *BROTHER* MONTY?

                          glad you clarified that but I don't have a brother.


                          Comment

                          Working...