473,554 Members | 2,855 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7407
"David C. Holley" wrote in message
news:%2******** ********@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
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|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!
Jul 19 '05 #3
"David Holley" wrote in message
news:%2******** ********@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: ?
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="/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!
Jul 19 '05 #5
On Sat, 05 Jun 2004 12:26:26 -0700, David Holley
<da**********@n etscape.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="/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!


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******** ******@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
Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2171
by: Richard Shea | last post by:
Hi - This is probably quite a stupid question but I've never understood what setup.py does. I've got a situation at the moment where I would like to use a script (which someone else has written and made available) to do CGI on a shared webserver to which I do not have shell access. The install instructions say "run python setup.py" but as...
4
5281
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the correct link, it's outdated. The link should be changed from this...
2
3609
by: serge calderara | last post by:
Dear all, I have build a setup project for my VB.NET application, I need to know the installation path of an application in order to add file in it. How can do that inside my setup project ? Any sample would help regards serge
5
3565
by: paul kölle | last post by:
hi all, I noticed that setUp() and tearDown() is run before and after *earch* test* method in my TestCase subclasses. I'd like to run them *once* for each TestCase subclass. How do I do that. thanks paul
0
1929
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project and added it to my solution (selecting the "Primary Output" as the files to include from my project). However, when I attempt to build the setup...
4
2297
by: Howard Kaikow | last post by:
When I build a setup project, the dependency in the setup project is tied to the version in which it was built. Is there a way to build a setup project that can be used in both versions of the Framework? There is provision to build the app's .exe so that the .exe can be used in either version of the framework, is there not a way to do this...
2
1997
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went through the appropriate steps in attaching the solution dependencies. After completing the setup package, I attempted to install the application on...
1
3586
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls- Common.dll, Logging.dll, Configuration.dll, Data.dll into setup project so that it is also installed automatically. It should perform what the 'Install...
6
4051
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
6
5186
by: Srini | last post by:
Hi, I am facing a problem in localizing the setup file and .NET framework redistributable. I am trying to deploy c# winform application. I have created a setup project. I need to redistribute .NET framework 2.0 along with the setup. I need to localize the setup project(strings appearing in the
0
7782
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7541
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7872
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5142
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3545
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3533
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2006
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1114
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
823
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.