Drew
Unless you are running off a properly configured IIS server
it is often
better to use FILE includes rather than Virtuals. The issue
is that your
intranet has been hung as a virtual directory off the default
website found
at localhost.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"Drew" <replytothe@newsgrouponly.com> wrote in message
news:ekpmrn$dq2$1@forums.macromedia.com...
>I am working on a redesign of our Intranet and have found
a weird problem
>with the includes that I am trying to use. Our Intranet
is located at
>
http://swvtc06/swvtc (I understand
that no one will be able to see it), the
>swvtc is a virtual directory in IIS. If I code my
includes like this,
>
> <!--#include virtual="/include/nav.htm" -->
>
> Then I can see the included file in Dreamweaver, but
when I execute the
> page, it gives me an error, "Include file not found". So
I must change
> the include code to,
>
> <!--#include virtual="/swvtc/include/nav.htm" -->
>
> in order for the code to work properly. This however
removes the included
> file from the design view.
>
> Am I missing something in the site setup?
>
> Thanks,
> Drew
>