Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASP and IIS and SSI - please help

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  upgrading SP3 to SP4 on Win2k Terminal Server  
Author Message
shland

External


Since: Sep 22, 2003
Posts: 2



(Msg. 1) Posted: Mon Sep 22, 2003 6:54 pm
Post subject: ASP and IIS and SSI - please help
Archived from groups: microsoft>public>inetserver>iis (more info?)

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...

My SSI line looks like this:
<!--#include virtual="\mainpages\includes\ServicesCustomized.htm" -->

The actual path is:
c:\Document and Settings\S\My
Documents\dotDigerati\Website\mainpages\includes...

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

Anything else I need to do?

Thanks in advance,
Sheryl

 >> Stay informed about: ASP and IIS and SSI - please help 
Back to top
Login to vote
jmaltz

External


Since: Aug 22, 2003
Posts: 710



(Msg. 2) Posted: Mon Sep 22, 2003 10:02 pm
Post subject: Re: ASP and IIS and SSI - please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Try replacing your "\"s with "/"s

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
<a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
tutorial site Smile
Only reply by newsgroup. If I see an email I didn't ask for, it will be
deleted without reading.


"shland" <shland RemoveThis @comcast.net> wrote in message
news:%23qWxQyVgDHA.616@TK2MSFTNGP11.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...
 >
 > My SSI line looks like this:
 > <!--#include virtual="\mainpages\includes\ServicesCustomized.htm" -->
 >
 > The actual path is:
 > c:\Document and Settings\S\My
 > Documents\dotDigerati\Website\mainpages\includes...
 >
 > In Internet Information Services the virtual directory is set to point to:
 > C:\Documents and Settings\S\My Documents\dotDigerati\Website\
 >
 > Anything else I need to do?
 >
 > Thanks in advance,
 > Sheryl
 >
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP and IIS and SSI - please help 
Back to top
Login to vote
shland

External


Since: Sep 22, 2003
Posts: 2



(Msg. 3) Posted: Mon Sep 22, 2003 10:02 pm
Post subject: Re: ASP and IIS and SSI - please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks, but I had already tried that... neither works...
Any other ideas?

"Jonathan Maltz [MS-MVP]" <jmaltz DeleteThis @mvps.org> wrote in message
news:ed8Kl2VgDHA.2464@TK2MSFTNGP09.phx.gbl...
 > Try replacing your "\"s with "/"s
 >
 > --
 > --Jonathan Maltz [Microsoft MVP - Windows Server]
 > <a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
 > tutorial site Smile
 > Only reply by newsgroup. If I see an email I didn't ask for, it will be
 > deleted without reading.
 >
 >
 > "shland" <shland DeleteThis @comcast.net> wrote in message
 > news:%23qWxQyVgDHA.616@TK2MSFTNGP11.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...
  > >
  > > My SSI line looks like this:
  > > <!--#include virtual="\mainpages\includes\ServicesCustomized.htm" -->
  > >
  > > The actual path is:
  > > c:\Document and Settings\S\My
  > > Documents\dotDigerati\Website\mainpages\includes...
  > >
  > > In Internet Information Services the virtual directory is set to point
to:
  > > C:\Documents and Settings\S\My Documents\dotDigerati\Website\
  > >
  > > Anything else I need to do?
  > >
  > > Thanks in advance,
  > > Sheryl
  > >
  > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP and IIS and SSI - please help 
Back to top
Login to vote
jmaltz

External


Since: Aug 22, 2003
Posts: 710



(Msg. 4) Posted: Mon Sep 22, 2003 11:14 pm
Post subject: Re: ASP and IIS and SSI - please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You said the virtual directory is set to c:\Documents and Settings...Did you
mean the root, or a Virtual Directory? Because if it's a Virtual Directory
then the include will need to reflect that

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
<a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
tutorial site Smile
Only reply by newsgroup. If I see an email I didn't ask for, it will be
deleted without reading.


"shland" <shland.TakeThisOut@comcast.net> wrote in message
news:eXZgy9VgDHA.2072@TK2MSFTNGP10.phx.gbl...
 > Thanks, but I had already tried that... neither works...
 > Any other ideas?
 >
 > "Jonathan Maltz [MS-MVP]" <jmaltz.TakeThisOut@mvps.org> wrote in message
 > news:ed8Kl2VgDHA.2464@TK2MSFTNGP09.phx.gbl...
  > > Try replacing your "\"s with "/"s
  > >
  > > --
  > > --Jonathan Maltz [Microsoft MVP - Windows Server]
  > > <a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
  > > tutorial site Smile
  > > Only reply by newsgroup. If I see an email I didn't ask for, it will be
  > > deleted without reading.
  > >
  > >
  > > "shland" <shland.TakeThisOut@comcast.net> wrote in message
  > > news:%23qWxQyVgDHA.616@TK2MSFTNGP11.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...
   > > >
   > > > My SSI line looks like this:
   > > > <!--#include virtual="\mainpages\includes\ServicesCustomized.htm" -->
   > > >
   > > > The actual path is:
   > > > c:\Document and Settings\S\My
   > > > Documents\dotDigerati\Website\mainpages\includes...
   > > >
   > > > In Internet Information Services the virtual directory is set to point
 > to:
   > > > C:\Documents and Settings\S\My Documents\dotDigerati\Website\
   > > >
   > > > Anything else I need to do?
   > > >
   > > > Thanks in advance,
   > > > Sheryl
   > > >
   > > >
   > > >
   > > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP and IIS and SSI - please help 
Back to top
Login to vote
anonymous402

External


Since: Nov 11, 2003
Posts: 1



(Msg. 5) Posted: Tue Nov 11, 2003 5:26 pm
Post subject: Re: ASP and IIS and SSI - please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

How do you have the include reflect that it's a virtual directory?

----- Jonathan Maltz [MS-MVP] wrote: -----

You said the virtual directory is set to c:\Documents and Settings...Did you
mean the root, or a Virtual Directory? Because if it's a Virtual Directory
then the include will need to reflect that

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
<a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
tutorial site Smile
Only reply by newsgroup. If I see an email I didn't ask for, it will be
deleted without reading.


"shland" <shland.DeleteThis@comcast.net> wrote in message
news:eXZgy9VgDHA.2072@TK2MSFTNGP10.phx.gbl...
  > Thanks, but I had already tried that... neither works...
  > Any other ideas?
   >> "Jonathan Maltz [MS-MVP]" <jmaltz.DeleteThis@mvps.org> wrote in message
  > news:ed8Kl2VgDHA.2464@TK2MSFTNGP09.phx.gbl...
   >> Try replacing your "\"s with "/"s
    >>>> --
   >> --Jonathan Maltz [Microsoft MVP - Windows Server]
   >> <a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
   >> tutorial site Smile
   >> Only reply by newsgroup. If I see an email I didn't ask for, it will be
   >> deleted without reading.
    >>>>>> "shland" <shland.DeleteThis@comcast.net> wrote in message
   >> news:%23qWxQyVgDHA.616@TK2MSFTNGP11.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...
    >>>>>> My SSI line looks like this:
    >>><!--#include virtual="\mainpages\includes\ServicesCustomized.htm" -->>>>>>> The actual path is:
    >>> c:\Document and Settings\S\My
    >>> Documents\dotDigerati\Website\mainpages\includes...
    >>>>>> In Internet Information Services the virtual directory is set to point
  > to:
    >>> C:\Documents and Settings\S\My Documents\dotDigerati\Website >>>>>> Anything else I need to do?
    >>>>>> Thanks in advance,
    >>> Sheryl
    >>>>>>>>>>>>>>>>>>


.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP and IIS and SSI - please help 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 2901



(Msg. 6) Posted: Wed Nov 12, 2003 4:03 pm
Post subject: Re: ASP and IIS and SSI - please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I don't think that the virtual directory thing is the problem.

I think the problem is that:
a) you have the vdir pointing to c:\documents and settings\<username>\
-and-
b) IIS is not processing the pages under your username - it is running under
IUSR_<machinename>, which doesn't have access to your user folder (only you
do, and local administrator accounts).

Try moving that virtual directory somewhere else, where the
IUSR_<machinename> actually does have permissions.

OK, if it is a vdir problem, then when you do the include, and you use the
virtual keyword, then the path needs to start from the webroot, and include
the vdir name, eg:

<!-- #include virtual="/vDirNameHere/myIncludeFileHere.asp" -->

Virtual always starts from the root of the website, and then your virtual
directory is underneath the root, so you need to include that, then the path
to the include file.

Cheers
Ken


"Donna" <anonymous.DeleteThis@discussions.microsoft.com> wrote in message
news:7C17D8EE-EBD3-4CB2-9A6C-6EA541382B26@microsoft.com...
: How do you have the include reflect that it's a virtual directory?
:
: ----- Jonathan Maltz [MS-MVP] wrote: -----
:
: You said the virtual directory is set to c:\Documents and
Settings...Did you
: mean the root, or a Virtual Directory? Because if it's a Virtual
Directory
: then the include will need to reflect that
:
: --
: --Jonathan Maltz [Microsoft MVP - Windows Server]
: <a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual, step-by-step
: tutorial site Smile
: Only reply by newsgroup. If I see an email I didn't ask for, it will
be
: deleted without reading.
:
:
: "shland" <shland.DeleteThis@comcast.net> wrote in message
: news:eXZgy9VgDHA.2072@TK2MSFTNGP10.phx.gbl...
: > Thanks, but I had already tried that... neither works...
: > Any other ideas?
: >> "Jonathan Maltz [MS-MVP]" <jmaltz.DeleteThis@mvps.org> wrote in message
: > news:ed8Kl2VgDHA.2464@TK2MSFTNGP09.phx.gbl...
: >> Try replacing your "\"s with "/"s
: >>>> --
: >> --Jonathan Maltz [Microsoft MVP - Windows Server]
: >> <a style='text-decoration: underline;' href="http://www.imbored.biz" target="_blank">http://www.imbored.biz</a> - A Windows Server 2003 visual,
step-by-step
: >> tutorial site Smile
: >> Only reply by newsgroup. If I see an email I didn't ask for, it
will be
: >> deleted without reading.
: >>>>>> "shland" <shland.DeleteThis@comcast.net> wrote in message
: >> news:%23qWxQyVgDHA.616@TK2MSFTNGP11.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...
: >>>>>> My SSI line looks like this:
: >>><!--#include
virtual="\mainpages\includes\ServicesCustomized.htm" -->>>>>>> The actual
path is:
: >>> c:\Document and Settings\S\My
: >>> Documents\dotDigerati\Website\mainpages\includes...
: >>>>>> In Internet Information Services the virtual directory is set
to point
: > to:
: >>> C:\Documents and Settings\S\My Documents\dotDigerati\Website
   >>>>>> Anything else I need to do?
: >>>>>> Thanks in advance,
: >>> Sheryl
: >>>>>>>>>>>>>>>>>>
:
:
: .
:<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP and IIS and SSI - please help 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]