ASP 0126

N

Nick

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

Nick

it is in the _private folder

Kathleen Anderson said:
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
 
N

Nick

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

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
 
N

Nick

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

Nick

Ok do you know how to fix that?
Nick said:
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.
 
G

Guest

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

Lee Steele
 
G

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
 
G

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 "
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top