R
Ronx
I have used your code to create pages in a subweb. With a few
"cosmetic" changes to suit the location of the subweb your code works.
I did make one other change:
In logon.inc I changed
objCN.Open "driver={Microsoft Access Driver (*.mdb)}; dbq=" & _
Server.MapPath(MDB_URL) & "; uid=admin; pwd="
To
objCN.Open Application("Database1_ConnectionString")
because the code as written (changed to suit my web) caused a JET
database read error.
When you imported the database you should have been asked to move the
database to fpdb folder, and to create a database connection.
In the logon subweb's root there should be a file named global.asa -
this file contains the database connection, and
Application("Database1_ConnectionString") references this connection
string.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
http://www.rxs-enterprises.org/fp
"cosmetic" changes to suit the location of the subweb your code works.
I did make one other change:
In logon.inc I changed
objCN.Open "driver={Microsoft Access Driver (*.mdb)}; dbq=" & _
Server.MapPath(MDB_URL) & "; uid=admin; pwd="
To
objCN.Open Application("Database1_ConnectionString")
because the code as written (changed to suit my web) caused a JET
database read error.
When you imported the database you should have been asked to move the
database to fpdb folder, and to create a database connection.
In the logon subweb's root there should be a file named global.asa -
this file contains the database connection, and
Application("Database1_ConnectionString") references this connection
string.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
http://www.rxs-enterprises.org/fp