ASP 0126

Discussion in 'Frontpage Programming' started by Nick, Jun 9, 2009.

  1. Nick

    Nick Guest

    Does any one know how to fix this error?

    Active Server Pages error 'ASP 0126'

    Include file not found

    /nick/passwordprotect.asp, line 2

    The include file '/logon/_private/logon.inc' was not found.
     
    Nick, Jun 9, 2009
    #1
    1. Advertisements

  2. What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    correct? I've never seen a _private folder under a regular folder.

    --

    ~ Kathleen Anderson
    Microsoft MVP - FrontPage
    Spider Web Woman Designs
    Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    Expression Web Wiki: http://expression-web-wiki.com/
    FrontPage Resources: http://www.spiderwebwoman.com/resources/
    Please reply to the newsgroup for the benefit of others



    "Nick" <> wrote in message
    news:...
    > Does any one know how to fix this error?
    >
    > Active Server Pages error 'ASP 0126'
    >
    > Include file not found
    >
    > /nick/passwordprotect.asp, line 2
    >
    > The include file '/logon/_private/logon.inc' was not found.
     
    Kathleen Anderson, Jun 9, 2009
    #2
    1. Advertisements

  3. Nick

    Nick Guest

    it is in the _private folder

    "Kathleen Anderson" <> wrote in message
    news:...
    > What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    > correct? I've never seen a _private folder under a regular folder.
    >
    > --
    >
    > ~ Kathleen Anderson
    > Microsoft MVP - FrontPage
    > Spider Web Woman Designs
    > Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    > Expression Web Wiki: http://expression-web-wiki.com/
    > FrontPage Resources: http://www.spiderwebwoman.com/resources/
    > Please reply to the newsgroup for the benefit of others
    >
    >
    >
    > "Nick" <> wrote in message
    > news:...
    >> Does any one know how to fix this error?
    >>
    >> Active Server Pages error 'ASP 0126'
    >>
    >> Include file not found
    >>
    >> /nick/passwordprotect.asp, line 2
    >>
    >> The include file '/logon/_private/logon.inc' was not found.

    >
    >
     
    Nick, Jun 9, 2009
    #3
  4. Nick

    Nick Guest

    In the code for that webpage to make it password protected is <!--#include
    virtual="/logon/_private/logon.inc"--> i don't know if that will help
    though.
    "Nick" <> wrote in message
    news:...
    > it is in the _private folder
    >
    > "Kathleen Anderson" <> wrote in message
    > news:...
    >> What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    >> correct? I've never seen a _private folder under a regular folder.
    >>
    >> --
    >>
    >> ~ Kathleen Anderson
    >> Microsoft MVP - FrontPage
    >> Spider Web Woman Designs
    >> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >> Expression Web Wiki: http://expression-web-wiki.com/
    >> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >> Please reply to the newsgroup for the benefit of others
    >>
    >>
    >>
    >> "Nick" <> wrote in message
    >> news:...
    >>> Does any one know how to fix this error?
    >>>
    >>> Active Server Pages error 'ASP 0126'
    >>>
    >>> Include file not found
    >>>
    >>> /nick/passwordprotect.asp, line 2
    >>>
    >>> The include file '/logon/_private/logon.inc' was not found.

    >>
    >>

    >
     
    Nick, Jun 9, 2009
    #4
  5. Nick

    Guest Guest

    I use the same code to password protect my site, however, the code does not
    have /logon/ in front of _private/logon.inc. Here is the code I use:
    <% @language="vbscript" %>
    <!--#include virtual="/_private/logon.inc"-->

    Lee Steele

    "Nick" <> wrote in message
    news:...
    > In the code for that webpage to make it password protected is <!--#include
    > virtual="/logon/_private/logon.inc"--> i don't know if that will help
    > though.
    > "Nick" <> wrote in message
    > news:...
    >> it is in the _private folder
    >>
    >> "Kathleen Anderson" <> wrote in message
    >> news:...
    >>> What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    >>> correct? I've never seen a _private folder under a regular folder.
    >>>
    >>> --
    >>>
    >>> ~ Kathleen Anderson
    >>> Microsoft MVP - FrontPage
    >>> Spider Web Woman Designs
    >>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >>> Expression Web Wiki: http://expression-web-wiki.com/
    >>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >>> Please reply to the newsgroup for the benefit of others
    >>>
    >>>
    >>>
    >>> "Nick" <> wrote in message
    >>> news:...
    >>>> Does any one know how to fix this error?
    >>>>
    >>>> Active Server Pages error 'ASP 0126'
    >>>>
    >>>> Include file not found
    >>>>
    >>>> /nick/passwordprotect.asp, line 2
    >>>>
    >>>> The include file '/logon/_private/logon.inc' was not found.
    >>>
    >>>

    >>

    >
     
    Guest, Jun 9, 2009
    #5
  6. Nick

    Nick Guest

    Its still not working the error i got was
    Active Server Pages error 'ASP 0126'

    Include file not found

    /nick/passwordprotect.asp, line 2

    The include file '/_private/logon.inc' was not found.
    <> wrote in message
    news:...
    >I use the same code to password protect my site, however, the code does
    >not have /logon/ in front of _private/logon.inc. Here is the code I use:
    > <% @language="vbscript" %>
    > <!--#include virtual="/_private/logon.inc"-->
    >
    > Lee Steele
    >
    > "Nick" <> wrote in message
    > news:...
    >> In the code for that webpage to make it password protected is
    >> <!--#include virtual="/logon/_private/logon.inc"--> i don't know if that
    >> will help though.
    >> "Nick" <> wrote in message
    >> news:...
    >>> it is in the _private folder
    >>>
    >>> "Kathleen Anderson" <> wrote in message
    >>> news:...
    >>>> What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    >>>> correct? I've never seen a _private folder under a regular folder.
    >>>>
    >>>> --
    >>>>
    >>>> ~ Kathleen Anderson
    >>>> Microsoft MVP - FrontPage
    >>>> Spider Web Woman Designs
    >>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >>>> Expression Web Wiki: http://expression-web-wiki.com/
    >>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >>>> Please reply to the newsgroup for the benefit of others
    >>>>
    >>>>
    >>>>
    >>>> "Nick" <> wrote in message
    >>>> news:...
    >>>>> Does any one know how to fix this error?
    >>>>>
    >>>>> Active Server Pages error 'ASP 0126'
    >>>>>
    >>>>> Include file not found
    >>>>>
    >>>>> /nick/passwordprotect.asp, line 2
    >>>>>
    >>>>> The include file '/logon/_private/logon.inc' was not found.
    >>>>
    >>>>
    >>>

    >>
     
    Nick, Jun 9, 2009
    #6
  7. Nick

    Nick Guest

    Ok do you know how to fix that?
    "Nick" <> wrote in message
    news:...
    > Its still not working the error i got was
    > Active Server Pages error 'ASP 0126'
    >
    > Include file not found
    >
    > /nick/passwordprotect.asp, line 2
    >
    > The include file '/_private/logon.inc' was not found.
    > <> wrote in message
    > news:...
    >>I use the same code to password protect my site, however, the code does
    >>not have /logon/ in front of _private/logon.inc. Here is the code I use:
    >> <% @language="vbscript" %>
    >> <!--#include virtual="/_private/logon.inc"-->
    >>
    >> Lee Steele
    >>
    >> "Nick" <> wrote in message
    >> news:...
    >>> In the code for that webpage to make it password protected is
    >>> <!--#include virtual="/logon/_private/logon.inc"--> i don't know if that
    >>> will help though.
    >>> "Nick" <> wrote in message
    >>> news:...
    >>>> it is in the _private folder
    >>>>
    >>>> "Kathleen Anderson" <> wrote in message
    >>>> news:...
    >>>>> What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    >>>>> correct? I've never seen a _private folder under a regular folder.
    >>>>>
    >>>>> --
    >>>>>
    >>>>> ~ Kathleen Anderson
    >>>>> Microsoft MVP - FrontPage
    >>>>> Spider Web Woman Designs
    >>>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >>>>> Expression Web Wiki: http://expression-web-wiki.com/
    >>>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >>>>> Please reply to the newsgroup for the benefit of others
    >>>>>
    >>>>>
    >>>>>
    >>>>> "Nick" <> wrote in message
    >>>>> news:...
    >>>>>> Does any one know how to fix this error?
    >>>>>>
    >>>>>> Active Server Pages error 'ASP 0126'
    >>>>>>
    >>>>>> Include file not found
    >>>>>>
    >>>>>> /nick/passwordprotect.asp, line 2
    >>>>>>
    >>>>>> The include file '/logon/_private/logon.inc' was not found.
    >>>>>
    >>>>>
    >>>>
    >>>

    >
     
    Nick, Jun 9, 2009
    #7
  8. Nick

    Guest Guest

    Is the logon.inc in the root _private folder on the web server? If not,
    publish it there.

    Lee Steele

    "Nick" <> wrote in message
    news:...
    > Its still not working the error i got was
    > Active Server Pages error 'ASP 0126'
    >
    > Include file not found
    >
    > /nick/passwordprotect.asp, line 2
    >
    > The include file '/_private/logon.inc' was not found.
    > <> wrote in message
    > news:...
    >>I use the same code to password protect my site, however, the code does
    >>not have /logon/ in front of _private/logon.inc. Here is the code I use:
    >> <% @language="vbscript" %>
    >> <!--#include virtual="/_private/logon.inc"-->
    >>
    >> Lee Steele
    >>
    >> "Nick" <> wrote in message
    >> news:...
    >>> In the code for that webpage to make it password protected is
    >>> <!--#include virtual="/logon/_private/logon.inc"--> i don't know if that
    >>> will help though.
    >>> "Nick" <> wrote in message
    >>> news:...
    >>>> it is in the _private folder
    >>>>
    >>>> "Kathleen Anderson" <> wrote in message
    >>>> news:...
    >>>>> What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    >>>>> correct? I've never seen a _private folder under a regular folder.
    >>>>>
    >>>>> --
    >>>>>
    >>>>> ~ Kathleen Anderson
    >>>>> Microsoft MVP - FrontPage
    >>>>> Spider Web Woman Designs
    >>>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >>>>> Expression Web Wiki: http://expression-web-wiki.com/
    >>>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >>>>> Please reply to the newsgroup for the benefit of others
    >>>>>
    >>>>>
    >>>>>
    >>>>> "Nick" <> wrote in message
    >>>>> news:...
    >>>>>> Does any one know how to fix this error?
    >>>>>>
    >>>>>> Active Server Pages error 'ASP 0126'
    >>>>>>
    >>>>>> Include file not found
    >>>>>>
    >>>>>> /nick/passwordprotect.asp, line 2
    >>>>>>
    >>>>>> The include file '/logon/_private/logon.inc' was not found.
    >>>>>
    >>>>>
    >>>>
    >>>

    >
     
    Guest, Jun 9, 2009
    #8
  9. Nick

    Guest Guest

    If your long.inc file is in the root _private folder, you need to change
    this code
    ' Define the name of the users table.
    Const USERS_TABLE = "tblUsers"
    ' Define the path to the logon page.
    Const LOGON_PAGE = "/logon/logon.asp"
    ' Define the path to the logon database.
    Const MDB_URL = "/logon/_private/logon.mdb"

    to read

    ' Define the name of the users table.
    Const USERS_TABLE = "tblUsers"
    ' Define the path to the logon page.
    Const LOGON_PAGE = "/logon.asp"
    ' Define the path to the logon database.
    Const MDB_URL = "/_private/logon.mdb"

    and also make sure the logon.mdb data base is also in the root _private
    folder.

    Hope this helps.
    Lee Steele

    "Nick" <> wrote in message
    news:...
    > It is in the _private but I could send you a zip file.
    > <> wrote in message
    > news:%...
    >> Is the logon.inc in the root _private folder on the web server? If not,
    >> publish it there.
    >>
    >> Lee Steele
    >>
    >> "Nick" <> wrote in message
    >> news:...
    >>> Its still not working the error i got was
    >>> Active Server Pages error 'ASP 0126'
    >>>
    >>> Include file not found
    >>>
    >>> /nick/passwordprotect.asp, line 2
    >>>
    >>> The include file '/_private/logon.inc' was not found.
    >>> <> wrote in message
    >>> news:...
    >>>>I use the same code to password protect my site, however, the code does
    >>>>not have /logon/ in front of _private/logon.inc. Here is the code I
    >>>>use:
    >>>> <% @language="vbscript" %>
    >>>> <!--#include virtual="/_private/logon.inc"-->
    >>>>
    >>>> Lee Steele
    >>>>
    >>>> "Nick" <> wrote in message
    >>>> news:...
    >>>>> In the code for that webpage to make it password protected is
    >>>>> <!--#include virtual="/logon/_private/logon.inc"--> i don't know if
    >>>>> that will help though.
    >>>>> "Nick" <> wrote in message
    >>>>> news:...
    >>>>>> it is in the _private folder
    >>>>>>
    >>>>>> "Kathleen Anderson" <> wrote in message
    >>>>>> news:...
    >>>>>>> What folder is the logon.inc file in? Is '/logon/_private/logon.inc'
    >>>>>>> correct? I've never seen a _private folder under a regular folder.
    >>>>>>>
    >>>>>>> --
    >>>>>>>
    >>>>>>> ~ Kathleen Anderson
    >>>>>>> Microsoft MVP - FrontPage
    >>>>>>> Spider Web Woman Designs
    >>>>>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >>>>>>> Expression Web Wiki: http://expression-web-wiki.com/
    >>>>>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >>>>>>> Please reply to the newsgroup for the benefit of others
    >>>>>>>
    >>>>>>>
    >>>>>>>
    >>>>>>> "Nick" <> wrote in message
    >>>>>>> news:...
    >>>>>>>> Does any one know how to fix this error?
    >>>>>>>>
    >>>>>>>> Active Server Pages error 'ASP 0126'
    >>>>>>>>
    >>>>>>>> Include file not found
    >>>>>>>>
    >>>>>>>> /nick/passwordprotect.asp, line 2
    >>>>>>>>
    >>>>>>>> The include file '/logon/_private/logon.inc' was not found.
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>
    >>>

    >
     
    Guest, Jun 9, 2009
    #9
  10. Nick

    Guest Guest

    Oops, "If your long.inc file is in the root _private folder, you need to
    change" should read "If your logon.inc file is in the root _private
    folder, you need to change "

    <> wrote in message
    news:...
    > If your long.inc file is in the root _private folder, you need to change
    > this code
    > ' Define the name of the users table.
    > Const USERS_TABLE = "tblUsers"
    > ' Define the path to the logon page.
    > Const LOGON_PAGE = "/logon/logon.asp"
    > ' Define the path to the logon database.
    > Const MDB_URL = "/logon/_private/logon.mdb"
    >
    > to read
    >
    > ' Define the name of the users table.
    > Const USERS_TABLE = "tblUsers"
    > ' Define the path to the logon page.
    > Const LOGON_PAGE = "/logon.asp"
    > ' Define the path to the logon database.
    > Const MDB_URL = "/_private/logon.mdb"
    >
    > and also make sure the logon.mdb data base is also in the root _private
    > folder.
    >
    > Hope this helps.
    > Lee Steele
    >
    > "Nick" <> wrote in message
    > news:...
    >> It is in the _private but I could send you a zip file.
    >> <> wrote in message
    >> news:%...
    >>> Is the logon.inc in the root _private folder on the web server? If not,
    >>> publish it there.
    >>>
    >>> Lee Steele
    >>>
    >>> "Nick" <> wrote in message
    >>> news:...
    >>>> Its still not working the error i got was
    >>>> Active Server Pages error 'ASP 0126'
    >>>>
    >>>> Include file not found
    >>>>
    >>>> /nick/passwordprotect.asp, line 2
    >>>>
    >>>> The include file '/_private/logon.inc' was not found.
    >>>> <> wrote in message
    >>>> news:...
    >>>>>I use the same code to password protect my site, however, the code
    >>>>>does
    >>>>>not have /logon/ in front of _private/logon.inc. Here is the code I
    >>>>>use:
    >>>>> <% @language="vbscript" %>
    >>>>> <!--#include virtual="/_private/logon.inc"-->
    >>>>>
    >>>>> Lee Steele
    >>>>>
    >>>>> "Nick" <> wrote in message
    >>>>> news:...
    >>>>>> In the code for that webpage to make it password protected is
    >>>>>> <!--#include virtual="/logon/_private/logon.inc"--> i don't know if
    >>>>>> that will help though.
    >>>>>> "Nick" <> wrote in message
    >>>>>> news:...
    >>>>>>> it is in the _private folder
    >>>>>>>
    >>>>>>> "Kathleen Anderson" <> wrote in message
    >>>>>>> news:...
    >>>>>>>> What folder is the logon.inc file in? Is
    >>>>>>>> '/logon/_private/logon.inc'
    >>>>>>>> correct? I've never seen a _private folder under a regular folder.
    >>>>>>>>
    >>>>>>>> --
    >>>>>>>>
    >>>>>>>> ~ Kathleen Anderson
    >>>>>>>> Microsoft MVP - FrontPage
    >>>>>>>> Spider Web Woman Designs
    >>>>>>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
    >>>>>>>> Expression Web Wiki: http://expression-web-wiki.com/
    >>>>>>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
    >>>>>>>> Please reply to the newsgroup for the benefit of others
    >>>>>>>>
    >>>>>>>>
    >>>>>>>>
    >>>>>>>> "Nick" <> wrote in message
    >>>>>>>> news:...
    >>>>>>>>> Does any one know how to fix this error?
    >>>>>>>>>
    >>>>>>>>> Active Server Pages error 'ASP 0126'
    >>>>>>>>>
    >>>>>>>>> Include file not found
    >>>>>>>>>
    >>>>>>>>> /nick/passwordprotect.asp, line 2
    >>>>>>>>>
    >>>>>>>>> The include file '/logon/_private/logon.inc' was not found.
    >>>>>>>>
    >>>>>>>>
    >>>>>>>
    >>>>>>
    >>>>

    >>
     
    Guest, Jun 10, 2009
    #10
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michelle Corella

    ASP 0126 error...

    Michelle Corella, Jul 29, 2003, in forum: Frontpage Programming
    Replies:
    1
    Views:
    167
    Michelle Corella
    Jul 29, 2003
  2. Jerry

    ASP/ASP.net

    Jerry, Feb 7, 2004, in forum: Frontpage Programming
    Replies:
    4
    Views:
    115
    Jim Buyens
    Feb 9, 2004
  3. xfile

    mySQL and ASP, ASP.NET and FP server extension

    xfile, Jan 19, 2005, in forum: Frontpage Programming
    Replies:
    12
    Views:
    247
    xfile
    Jan 22, 2005
  4. CostIndustries

    Can I write a ASP/ASP.Net application that will publish a FrontPa.

    CostIndustries, Mar 21, 2005, in forum: Frontpage Programming
    Replies:
    3
    Views:
    244
    Jim Cheshire \(JIMCO\)
    Mar 23, 2005
  5. Randy Morgan

    ASP vs. ASP.NET

    Randy Morgan, Aug 17, 2005, in forum: Frontpage Programming
    Replies:
    5
    Views:
    92
    Kevin Spencer
    Aug 17, 2005
  6. xfile
    Replies:
    8
    Views:
    183
    xfile
    Jul 4, 2006
  7. Beefminator

    ASP - send email after pure ASP upload

    Beefminator, Aug 29, 2006, in forum: Frontpage Programming
    Replies:
    4
    Views:
    208
    Beefminator
    Aug 31, 2006
  8. Perpetually perplexed

    Loading asp pages from within an asp page

    Perpetually perplexed, Mar 27, 2008, in forum: Frontpage Programming
    Replies:
    4
    Views:
    293
    Perpetually perplexed
    Mar 28, 2008
Loading...