Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Include path of ASP stop working in Windows 2003

Reply
Thread Tools

Include path of ASP stop working in Windows 2003

 
 
Charts
Guest
Posts: n/a
 
      06-09-2004
I recently upgraded development web server to Windows 2003. I have ASP file contains following line for include file
<!--#include File="../Include/adovbs.inc"--

This ASP file worked fine before. When I ran this file under Windows 2003, I got following error message
The include file “Include/adovbs.inc” cannot contain ‘…’ to indicate the parent directory.

I changed to following lin
<!--#include File="my virtual directory/Include/adovbs.inc"--

Then, IE tells me the file could not be found

If I copy the include file to the current directory and just use
<!--#include File="adovbs.inc"-->
That works

Is there way I can change IIS setting to make my include path work” It really break my existing applications. Thanks

 
Reply With Quote
 
 
 
 
Alan Howard
Guest
Posts: n/a
 
      06-09-2004
Try enabling parent paths - right click the site representing your app in
IIS, select properties, select the Home Directory/Virtual Dir tab, click the
Configuration button, select the App Options tab and select the Enable
Parent Paths box. These instructions are for 2000 so adjust as necessary for
2003 - pretty similar though.

Alan

"Charts" <> wrote in message
news:2A86B4A0-6CBC-49E9-ACBB-...
> I recently upgraded development web server to Windows 2003. I have ASP

file contains following line for include file.
> <!--#include File="../Include/adovbs.inc"-->
>
> This ASP file worked fine before. When I ran this file under Windows

2003, I got following error message.
> The include file "Include/adovbs.inc" cannot contain '.' to indicate the

parent directory.
>
> I changed to following line
> <!--#include File="my virtual directory/Include/adovbs.inc"-->
>
> Then, IE tells me the file could not be found.
>
> If I copy the include file to the current directory and just use
> <!--#include File="adovbs.inc"-->
> That works.
>
> Is there way I can change IIS setting to make my include path work" It

really break my existing applications. Thanks.
>



 
Reply With Quote
 
 
 
 
Charts
Guest
Posts: n/a
 
      06-10-2004
That works!! Thanks so much!

"Alan Howard" wrote:

> Try enabling parent paths - right click the site representing your app in
> IIS, select properties, select the Home Directory/Virtual Dir tab, click the
> Configuration button, select the App Options tab and select the Enable
> Parent Paths box. These instructions are for 2000 so adjust as necessary for
> 2003 - pretty similar though.
>
> Alan
>
> "Charts" <> wrote in message
> news:2A86B4A0-6CBC-49E9-ACBB-...
> > I recently upgraded development web server to Windows 2003. I have ASP

> file contains following line for include file.
> > <!--#include File="../Include/adovbs.inc"-->
> >
> > This ASP file worked fine before. When I ran this file under Windows

> 2003, I got following error message.
> > The include file "Include/adovbs.inc" cannot contain '.' to indicate the

> parent directory.
> >
> > I changed to following line
> > <!--#include File="my virtual directory/Include/adovbs.inc"-->
> >
> > Then, IE tells me the file could not be found.
> >
> > If I copy the include file to the current directory and just use
> > <!--#include File="adovbs.inc"-->
> > That works.
> >
> > Is there way I can change IIS setting to make my include path work" It

> really break my existing applications. Thanks.
> >

>
>
>

 
Reply With Quote
 
Charts
Guest
Posts: n/a
 
      06-10-2004
That works!! Thanks so much!!

"Alan Howard" wrote:

> Try enabling parent paths - right click the site representing your app in
> IIS, select properties, select the Home Directory/Virtual Dir tab, click the
> Configuration button, select the App Options tab and select the Enable
> Parent Paths box. These instructions are for 2000 so adjust as necessary for
> 2003 - pretty similar though.
>
> Alan
>
> "Charts" <> wrote in message
> news:2A86B4A0-6CBC-49E9-ACBB-...
> > I recently upgraded development web server to Windows 2003. I have ASP

> file contains following line for include file.
> > <!--#include File="../Include/adovbs.inc"-->
> >
> > This ASP file worked fine before. When I ran this file under Windows

> 2003, I got following error message.
> > The include file "Include/adovbs.inc" cannot contain '.' to indicate the

> parent directory.
> >
> > I changed to following line
> > <!--#include File="my virtual directory/Include/adovbs.inc"-->
> >
> > Then, IE tells me the file could not be found.
> >
> > If I copy the include file to the current directory and just use
> > <!--#include File="adovbs.inc"-->
> > That works.
> >
> > Is there way I can change IIS setting to make my include path work" It

> really break my existing applications. Thanks.
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/* #include <someyhing.h> */ => include it or do not include it?That is the question .... Andreas Bogenberger C Programming 3 02-22-2008 10:53 AM
ASP Error 0126 include file not found, when using ".." in include file path Eric ASP General 10 01-11-2007 07:38 AM
ASP Error 0126 include file not found, when using ".." in include file path Eric ASP General 0 01-09-2007 06:54 PM
Various path/path/files.asp all #include this 1 file \A_Michigan_User\ ASP General 1 07-10-2005 01:55 PM
validators stop working on 2003 server Jason Shohet ASP .Net 2 04-09-2004 04:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57