Microsoft Office Forums


Reply
 
 
Nick
Guest
Posts: n/a
 
      06-09-2009, 05:31 PM
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.
 
Reply With Quote
 
 
 
 
Kathleen Anderson
Guest
Posts: n/a
 
      06-09-2009, 06:47 PM
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.



 
Reply With Quote
 
 
 
 
Nick
Guest
Posts: n/a
 
      06-09-2009, 07:23 PM
it is in the _private folder

"Kathleen Anderson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.

>
>


 
Reply With Quote
 
Nick
Guest
Posts: n/a
 
      06-09-2009, 07:36 PM
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> it is in the _private folder
>
> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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.

>>
>>

>


 
Reply With Quote
 
Guest
Posts: n/a
 
      06-09-2009, 08:33 PM
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> it is in the _private folder
>>
>> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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.
>>>
>>>

>>

>

 
Reply With Quote
 
Nick
Guest
Posts: n/a
 
      06-09-2009, 08:45 PM
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.
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> it is in the _private folder
>>>
>>> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> 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.
>>>>
>>>>
>>>

>>


 
Reply With Quote
 
Nick
Guest
Posts: n/a
 
      06-09-2009, 09:35 PM
Ok do you know how to fix that?
"Nick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> it is in the _private folder
>>>>
>>>> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> 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" <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> 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.
>>>>>
>>>>>
>>>>
>>>

>


 
Reply With Quote
 
Guest
Posts: n/a
 
      06-09-2009, 09:39 PM
Is the logon.inc in the root _private folder on the web server? If not,
publish it there.

Lee Steele

"Nick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> it is in the _private folder
>>>>
>>>> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> 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" <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> 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.
>>>>>
>>>>>
>>>>
>>>

>

 
Reply With Quote
 
Guest
Posts: n/a
 
      06-09-2009, 10:48 PM
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It is in the _private but I could send you a zip file.
> <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Is the logon.inc in the root _private folder on the web server? If not,
>> publish it there.
>>
>> Lee Steele
>>
>> "Nick" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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.
>>> <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>>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" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> 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" <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> it is in the _private folder
>>>>>>
>>>>>> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
>>>>>> news:(E-Mail Removed)...
>>>>>>> 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" <(E-Mail Removed)> wrote in message
>>>>>>> news:(E-Mail Removed)...
>>>>>>>> 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.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>

>

 
Reply With Quote
 
Guest
Posts: n/a
 
      06-09-2009, 11:17 PM
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 "

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> It is in the _private but I could send you a zip file.
>> <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> Is the logon.inc in the root _private folder on the web server? If not,
>>> publish it there.
>>>
>>> Lee Steele
>>>
>>> "Nick" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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.
>>>> <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>>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" <(E-Mail Removed)> wrote in message
>>>>> news:(E-Mail Removed)...
>>>>>> 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" <(E-Mail Removed)> wrote in message
>>>>>> news:(E-Mail Removed)...
>>>>>>> it is in the _private folder
>>>>>>>
>>>>>>> "Kathleen Anderson" <(E-Mail Removed)> wrote in message
>>>>>>> news:(E-Mail Removed)...
>>>>>>>> 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" <(E-Mail Removed)> wrote in message
>>>>>>>> news:(E-Mail Removed)...
>>>>>>>>> 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.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
ASP 0126 error...include file not found shikha Frontpage Client 4 08-02-2006 03:36 PM
Re: Opening Excel from an ASP file (VB works, ASP gets ASP 0178 error) devi Excel Programming 1 01-24-2005 11:45 AM
Active Server Pages error ASP 0126 - include file not found puzzled in Santa Cruz Frontpage Client 1 12-22-2004 09:19 AM
ASP error 0126! Richard Gutery Frontpage Client 7 11-26-2004 04:11 PM
ASP 0126 error... Michelle Corella Frontpage Programming 1 07-29-2003 05:56 PM


All times are GMT. The time now is 09:16 PM.
Microsoft Office Forums is not affiliated with Microsoft Corporation.


Welcome!
Welcome to the Microsoft Office Forums
 


Latest Threads
New user looking for shapes/templates
SargeUSMC (04-21-2014, 04:23 PM)

Mail Merging Content With High Quality
oleander (04-17-2014, 11:59 PM)

Aargh. What is this?
PeteJ (04-17-2014, 12:10 PM)

Word 2013 Insert Symbol (Not Responding)
tpthrshr (04-17-2014, 02:49 AM)

Can't save a large Word document
Josh (04-17-2014, 01:03 AM)