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. Advertising

  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. Advertising

  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. Advertising

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:
    108
    Michelle Corella
    Jul 29, 2003
  2. devi
    Replies:
    1
    Views:
    285
    keepITcool
    Jan 24, 2005
  3. Richard Gutery

    ASP error 0126!

    Richard Gutery, Nov 25, 2004, in forum: Frontpage Client
    Replies:
    7
    Views:
    106
    clintonG
    Nov 26, 2004
  4. puzzled in Santa Cruz

    Active Server Pages error ASP 0126 - include file not found

    puzzled in Santa Cruz, Dec 21, 2004, in forum: Frontpage Client
    Replies:
    1
    Views:
    128
    Stefan B Rusynko
    Dec 22, 2004
  5. shikha

    ASP 0126 error...include file not found

    shikha, Aug 1, 2006, in forum: Frontpage Client
    Replies:
    4
    Views:
    72
    shikha
    Aug 2, 2006
Loading...

Share This Page