469,292 Members | 1,293 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,292 developers. It's quick & easy.

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.

Jul 19 '05 #1
12 7214
"David C. Holley" wrote in message
news:%2****************@TK2MSFTNGP11.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
Jul 19 '05 #2
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|I nclude_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!
Jul 19 '05 #3
"David Holley" wrote in message
news:%2****************@TK2MSFTNGP11.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|Include_file_not_found|321|ASP_0126|I nclude_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
Jul 19 '05 #4
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+CL R+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+CL R+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!
Jul 19 '05 #5
On Sat, 05 Jun 2004 12:26:26 -0700, David Holley
<da**********@netscape.net> 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+CL R+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+CL R+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!


Jul 19 '05 #6
Refresh my memory the IP for the local machine is 127.0.0.0?
David C. Holley
www.gatewayorlando.com

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #7
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!
Jul 19 '05 #8
[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!
Jul 19 '05 #9
"David Holley" wrote in message
news:ez**************@TK2MSFTNGP11.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
Jul 19 '05 #10
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:ez**************@TK2MSFTNGP11.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


Jul 19 '05 #11
I meant HOW'S YOUR *BROTHER* MONTY?

Roland Hall wrote:
"David Holley" wrote in message
news:ez**************@TK2MSFTNGP11.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


Jul 19 '05 #12

"David C. Holley" <Da**********@netscape.net> wrote in message
news:ub**************@TK2MSFTNGP09.phx.gbl...
: I meant HOW'S YOUR *BROTHER* MONTY?

glad you clarified that but I don't have a brother.
Jul 19 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Richard Shea | last post: by
2 posts views Thread by serge calderara | last post: by
5 posts views Thread by paul kölle | last post: by
reply views Thread by Adam Clauss | last post: by
1 post views Thread by rohan_from_mars | last post: by
6 posts views Thread by andrewbb | last post: by
6 posts views Thread by Srini | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.