Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: ADOVBS.INC NOT FOUND


Message #1 by "Monty" <montylove@h...> on Sun, 15 Dec 2002 22:56:34 +0530
this file adovbs.inc is in the root folder of my site
say .. localhost/data/adovbs.inc

but when i try to refer it from any of the child folders then i get this
error that file not found
say == localhost/data/asp

i use this code
<!-- #include file "adovbs.inc" -->

Should i include this file in every child folder under my web ?


Please help
Monty!


Message #2 by Greg Griffiths <greg2@s...> on Sun, 15 Dec 2002 19:19:23 +0000
If you don't provide a path - absolute or relative - then the web server 
assumes you mean the current directory. try :

<!-- #include file "/adovbs.inc" -->

At 22:56 15/12/02 +0530, you wrote:
>this file adovbs.inc is in the root folder of my site
>say .. localhost/data/adovbs.inc
>
>but when i try to refer it from any of the child folders then i get this
>error that file not found
>say == localhost/data/asp
>
>i use this code
><!-- #include file "adovbs.inc" -->
>
>Should i include this file in every child folder under my web ?
>
>
>Please help
>Monty!
>
>
>



Message #3 by "Carl E. Olsen" <carl-olsen@m...> on Sun, 15 Dec 2002 13:49:08 -0600
Try

<!-- #include file="data/adovbs.inc" -->

where "data" is the name of the subdirectory.

Or, you can use

<!-- #include virtual="/adovbs.inc" -->

> -----Original Message-----
> From: Greg Griffiths [mailto:greg2@s...]
> Sent: Sunday, December 15, 2002 1:19 PM
> To: ASP Databases
> Subject: [asp_databases] Re: ADOVBS.INC NOT FOUND
> 
> If you don't provide a path - absolute or relative - then the web
server
> assumes you mean the current directory. try :
> 
> <!-- #include file "/adovbs.inc" -->
> 
> At 22:56 15/12/02 +0530, you wrote:
> >this file adovbs.inc is in the root folder of my site
> >say .. localhost/data/adovbs.inc
> >
> >but when i try to refer it from any of the child folders then i get
this
> >error that file not found
> >say == localhost/data/asp
> >
> >i use this code
> ><!-- #include file "adovbs.inc" -->
> >
> >Should i include this file in every child folder under my web ?
> >
> >
> >Please help
> >Monty!
> >
> >
> >
> 
> 
> 
> 
> to unsubscribe send a blank email to leave-asp_databases-
> 1112136X@p...



  Return to Index