Dear All,

Suddenly today, some of my asp application file have the following error:

But the file is exist. Any idea how to fix it? Web server is W2k with
current sevice pack.

Thanks a lot.

Lin Ma


Active Server Pages error 'ASP 0126'

Include file not found

/Corp/QMS/application/CIA/aspfiles/TempCIAEmail_Validation_Accept.asp, line
159

The include file 'TempCIAEmail_RemoveDupAddress.asp' was not found.

Re: Include file not found??? by Aaron

Aaron
Tue Apr 13 12:18:26 CDT 2004

Show the code and explain your directory structure. Windows doesn't
suddenly "forget" that files exist; odds are, you changed IIS' folder
structure, moved files in windows, or are simply pointing at the wrong
folder. Are you using <!--#include file or <!--#include virtual? Are you
leading with ./ or ../? Are parent paths enabled?

This is part of the problem of having applications that live under six
levels of subfolders. Even the most organized person can get lost in that
hierarchy.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Lin Ma" <abc.com> wrote in message
news:uwqrrmXIEHA.3224@TK2MSFTNGP09.phx.gbl...
> Dear All,
>
> Suddenly today, some of my asp application file have the following error:
>
> But the file is exist. Any idea how to fix it? Web server is W2k with
> current sevice pack.
>
> Thanks a lot.
>
> Lin Ma
>
>
> Active Server Pages error 'ASP 0126'
>
> Include file not found
>
> /Corp/QMS/application/CIA/aspfiles/TempCIAEmail_Validation_Accept.asp,
> line
> 159
>
> The include file 'TempCIAEmail_RemoveDupAddress.asp' was not found.
>
>



Re: Include file not found??? by Lin

Lin
Tue Apr 13 12:33:55 CDT 2004

Aaron, thanks a lot.

This application is working for a while except today one page has a problem.
Most of the pages with include files are working.

1. All the include files in the same folder.

2. In this specific page, I use <!--#include file="... .asp" -->. If I try
it again, it will tell me different include file. This time, it tells me the
TempCIAEmail_CCList_InvVerifierPerson.asp is not find.

I do nest the include files. like:

Top.asp
<!--include file="TempCIAEmail.asp" -->

In TempCIAEmail.asp
<!--include file="TempCIAEmail_Validation_Accept.asp" -->

In TempCIAEmail_Validation_Accept.asp
<!--include
file="TempCIAEmail_CCList_InvVerifierPerson.asp" -->

Thanks

Lin

"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:elaAXtXIEHA.3536@TK2MSFTNGP09.phx.gbl...
> Show the code and explain your directory structure. Windows doesn't
> suddenly "forget" that files exist; odds are, you changed IIS' folder
> structure, moved files in windows, or are simply pointing at the wrong
> folder. Are you using <!--#include file or <!--#include virtual? Are you
> leading with ./ or ../? Are parent paths enabled?
>
> This is part of the problem of having applications that live under six
> levels of subfolders. Even the most organized person can get lost in that
> hierarchy.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
> "Lin Ma" <abc.com> wrote in message
> news:uwqrrmXIEHA.3224@TK2MSFTNGP09.phx.gbl...
> > Dear All,
> >
> > Suddenly today, some of my asp application file have the following
error:
> >
> > But the file is exist. Any idea how to fix it? Web server is W2k with
> > current sevice pack.
> >
> > Thanks a lot.
> >
> > Lin Ma
> >
> >
> > Active Server Pages error 'ASP 0126'
> >
> > Include file not found
> >
> > /Corp/QMS/application/CIA/aspfiles/TempCIAEmail_Validation_Accept.asp,
> > line
> > 159
> >
> > The include file 'TempCIAEmail_RemoveDupAddress.asp' was not found.
> >
> >
>
>



Re: Include file not found??? by Lin

Lin
Tue Apr 13 12:39:56 CDT 2004

One more thing I forgot to say is that it is working on my development
server which is W2k.

Thanks,

Lin





"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:elaAXtXIEHA.3536@TK2MSFTNGP09.phx.gbl...
> Show the code and explain your directory structure. Windows doesn't
> suddenly "forget" that files exist; odds are, you changed IIS' folder
> structure, moved files in windows, or are simply pointing at the wrong
> folder. Are you using <!--#include file or <!--#include virtual? Are you
> leading with ./ or ../? Are parent paths enabled?
>
> This is part of the problem of having applications that live under six
> levels of subfolders. Even the most organized person can get lost in that
> hierarchy.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
> "Lin Ma" <abc.com> wrote in message
> news:uwqrrmXIEHA.3224@TK2MSFTNGP09.phx.gbl...
> > Dear All,
> >
> > Suddenly today, some of my asp application file have the following
error:
> >
> > But the file is exist. Any idea how to fix it? Web server is W2k with
> > current sevice pack.
> >
> > Thanks a lot.
> >
> > Lin Ma
> >
> >
> > Active Server Pages error 'ASP 0126'
> >
> > Include file not found
> >
> > /Corp/QMS/application/CIA/aspfiles/TempCIAEmail_Validation_Accept.asp,
> > line
> > 159
> >
> > The include file 'TempCIAEmail_RemoveDupAddress.asp' was not found.
> >
> >
>
>



Re: Include file not found??? by Lin

Lin
Tue Apr 13 12:58:35 CDT 2004

FYI.

We reboot the IIS and the problem goes away.

Thanks for your suggestion and time.

Lin

"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:elaAXtXIEHA.3536@TK2MSFTNGP09.phx.gbl...
> Show the code and explain your directory structure. Windows doesn't
> suddenly "forget" that files exist; odds are, you changed IIS' folder
> structure, moved files in windows, or are simply pointing at the wrong
> folder. Are you using <!--#include file or <!--#include virtual? Are you
> leading with ./ or ../? Are parent paths enabled?
>
> This is part of the problem of having applications that live under six
> levels of subfolders. Even the most organized person can get lost in that
> hierarchy.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
> "Lin Ma" <abc.com> wrote in message
> news:uwqrrmXIEHA.3224@TK2MSFTNGP09.phx.gbl...
> > Dear All,
> >
> > Suddenly today, some of my asp application file have the following
error:
> >
> > But the file is exist. Any idea how to fix it? Web server is W2k with
> > current sevice pack.
> >
> > Thanks a lot.
> >
> > Lin Ma
> >
> >
> > Active Server Pages error 'ASP 0126'
> >
> > Include file not found
> >
> > /Corp/QMS/application/CIA/aspfiles/TempCIAEmail_Validation_Accept.asp,
> > line
> > 159
> >
> > The include file 'TempCIAEmail_RemoveDupAddress.asp' was not found.
> >
> >
>
>