473,807 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP and IIS and SSI...please help

Hi - I'm using SSI in some .asp pages... the SSI works perfectly on my web
host, but when I try to test locally, IIS is complaining that it can't find
the included file. I'm sure that it has something to do with setting a
"root" directory properly, but as far as I can tell, I have it set ok. Any
hints? I'm running IIS under XP Pro, and DW MX by the way...

My SSI line looks like this:
<!--#include virtual="\mainp ages\includes\S ervicesCustomiz ed.htm" -->

The actual path is:
c:\Document and Settings\S\My
Documents\dotDi gerati\Website\ mainpages\inclu des...

In Internet Information Services the virtual directory is set to point to:
C:\Documents and Settings\S\My Documents\dotDi gerati\Website\

Anything else I need to do?

Thanks in advance,
Sheryl

Jul 19 '05 #1
3 2586
From what I can see, this should be working for you. Here are my
suggestions:

Put a file in the Website directory called includes.txt with contents of
"Website."
Put a file in the mainpages directory called include.txt with contents of
"root.
Put a file in your includes directory called include.txt with contents of
"includes."

Then load:

<!-- #include virtual="/include.txt" -->
<!-- #include file="/include.txt" -->

What is returned?

Ray at home
"shland" <sh****@comcast .net> wrote in message
news:uD******** ******@TK2MSFTN GP11.phx.gbl...
Hi - I'm using SSI in some .asp pages... the SSI works perfectly on my web host, but when I try to test locally, IIS is complaining that it can't find the included file. I'm sure that it has something to do with setting a
"root" directory properly, but as far as I can tell, I have it set ok. Any
hints? I'm running IIS under XP Pro, and DW MX by the way...

My SSI line looks like this:
<!--#include virtual="\mainp ages\includes\S ervicesCustomiz ed.htm" -->

The actual path is:
c:\Document and Settings\S\My
Documents\dotDi gerati\Website\ mainpages\inclu des...

In Internet Information Services the virtual directory is set to point to:
C:\Documents and Settings\S\My Documents\dotDi gerati\Website\

Anything else I need to do?

Thanks in advance,
Sheryl


Jul 19 '05 #2
two things...
one the \ should be / (not sure it matters but it could)
Second, is "WebSite" set as the ROOT of that virutal dir?

--
----------------------------------------------------------
Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"shland" <sh****@comcast .net> wrote in message
news:uD******** ******@TK2MSFTN GP11.phx.gbl...
Hi - I'm using SSI in some .asp pages... the SSI works perfectly on my web host, but when I try to test locally, IIS is complaining that it can't find the included file. I'm sure that it has something to do with setting a
"root" directory properly, but as far as I can tell, I have it set ok. Any
hints? I'm running IIS under XP Pro, and DW MX by the way...

My SSI line looks like this:
<!--#include virtual="\mainp ages\includes\S ervicesCustomiz ed.htm" -->

The actual path is:
c:\Document and Settings\S\My
Documents\dotDi gerati\Website\ mainpages\inclu des...

In Internet Information Services the virtual directory is set to point to:
C:\Documents and Settings\S\My Documents\dotDi gerati\Website\

Anything else I need to do?

Thanks in advance,
Sheryl


Jul 19 '05 #3
Oops. Delete the "/" from the file include.

Ray at home

"Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message
news:un******** ******@TK2MSFTN GP09.phx.gbl...
From what I can see, this should be working for you. Here are my
suggestions:

Put a file in the Website directory called includes.txt with contents of
"Website."
Put a file in the mainpages directory called include.txt with contents of
"root.
Put a file in your includes directory called include.txt with contents of
"includes."

Then load:

<!-- #include virtual="/include.txt" -->
<!-- #include file="/include.txt" -->

What is returned?

Ray at home
"shland" <sh****@comcast .net> wrote in message
news:uD******** ******@TK2MSFTN GP11.phx.gbl...
Hi - I'm using SSI in some .asp pages... the SSI works perfectly on my

web
host, but when I try to test locally, IIS is complaining that it can't

find
the included file. I'm sure that it has something to do with setting a
"root" directory properly, but as far as I can tell, I have it set ok. Any hints? I'm running IIS under XP Pro, and DW MX by the way...

My SSI line looks like this:
<!--#include virtual="\mainp ages\includes\S ervicesCustomiz ed.htm" -->

The actual path is:
c:\Document and Settings\S\My
Documents\dotDi gerati\Website\ mainpages\inclu des...

In Internet Information Services the virtual directory is set to point to: C:\Documents and Settings\S\My Documents\dotDi gerati\Website\

Anything else I need to do?

Thanks in advance,
Sheryl



Jul 19 '05 #4

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

Similar topics

0
1705
by: Kurt Watson | last post by:
I’m having a different kind of problem with Hotmail when I sign in it says, "Web Browser Software Limitations Your Current Software Will Limit Your Ability to Use Hotmail You are using a web browser that Hotmail does not support. If you continue to use your current browser software we cannot guarantee that Hotmail will work correctly for you". Please help, this is very annoying. I have been searching for help on
7
3627
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title> </head> <style type="text/css">
7
3301
by: tyler_durden | last post by:
thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that I believe if it's solved, the remaining stuff is easy... my full program until now is here: http://www.geocities.com/tom4_h4wk/progmail.zip the problem is the segmentation fault when main trys to run leficheiro.c.... the *.c2 files are the...
23
3296
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application to create certain textboxes, labels, and combo boxes? Any ideas would be appreciated. Thanks
13
4342
by: Joner | last post by:
Hello, I'm having trouble with a little programme of mine where I connect to an access database. It seems to connect fine, and disconnect fine, but then after it won't reconnect, I get the error "operation is not allowed when object is open" so I take out the line of code: BookDetails.Connection1.Open and it comes up with the error "operation is not allowed when object
1
9667
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
1
54548
PEB
by: PEB | last post by:
POSTING GUIDELINES Please follow these guidelines when posting questions Post your question in a relevant forum Do NOT PM questions to individual experts - This is not fair on them and we instruct our experts to ignore any such PMs completely Be sure to give the version of Access that you are working with and the Platform and OS if applicable.
0
3061
by: 2Barter.net | last post by:
newsmail@reuters.uk.ed10.net Fwd: Money for New Orleans, AL & GA Inbox Reply Reply to all Forward Print Add 2Barter.net to Contacts list Delete this message Report phishing Show original
6
3330
by: jenipriya | last post by:
Hi all... its very urgent.. please........i m a beginner in oracle.... Anyone please help me wit dese codes i hv tried... and correct the errors... The table structures i hav Employee (EmpID, EmpName,DeptID,DateOfJoin, Sal, Addr) Finance (EmpID, Sal) Club (Clubname, EmpID, Fee, DateOfJoin) Leave (EmpID, Date) Department (DeptID, DeptName, NoOfEmployees)...
5
2325
by: tabani | last post by:
I wrote the program and its not giving me correct answer can any one help me with that please and specify my mistake please it will be highly appreciable... The error arrives from option 'a' it asks for user name, check in the system but does not return the correct answer please help me with it. or if you have better way of doing it would you please mind to tell me.. thanks.. #!/usr/bin/perl -w #use Getopt::Std;
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5547
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4331
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
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.