**** I double posted to Access forum since I don't know which one is the
right one, sorry!!!!****

Hi:

I recently downloaded some ASP pages with Access database verifying and
adding Web site users.

I managed to make most of them work except for the last step of adding new
registrant to the database and return for an "anewmember.asp"

This is basically how those codes works:

(1) Login.asp: Login screen for registered user to type in their ID and
password. Data will be sent to "Member.mdb" for verification. If passed,
it will redirect to another page. If not, it will return to the
registration form again. This part has no problem. There are sample data
in the database, and if I typed the correct one, I will be directed to the
protected page. If not, I will be redirected to another registration form.

***I guess this meant that the database - Member.mdb can be read if I can
check on its data***

(2) Signup: This is the problem. After filled out registration form and
pressed "Submint," it will be redirected to a "Confirm.asp" where user can
confirm all information and if right, click "Confimr" to process the data
and upon completion, an "anewmember.asp" will be displayed.

Here is the error message after pressed "Confirm button"
---------------------------------------------------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]¤@ 'Temporary (volatile) Jet DSN
for process 0xca4 Thread 0xa10 DBC 0x16745f4 Jet'¡C

/0501-Product/Membership/addnewmember.asp, line25

----------------------------------------------------------------

Here is codes from line 24-26

Line 24: set my_conn= Server.CreateObject("ADODB.Connection")
Line 25: my_Conn.Open ConnString
Line 26: set rscheck = my_conn.Execute ("Select email from member where
email='" & email & "'")

------------------------------------------------------

Many thanks in advance!!!

Adding new user to database from Web registraton by Net55

Net55
Fri Apr 30 23:07:55 CDT 2004

Make sure the the database and folder are read/write

Net55
net55@frontpagewiz.com
http://www.frontpagewiz.com
>-----Original Message-----
>**** I double posted to Access forum since I don't know=20
which one is the
>right one, sorry!!!!****
>
>Hi:
>
>I recently downloaded some ASP pages with Access database=20
verifying and
>adding Web site users.
>
>I managed to make most of them work except for the last=20
step of adding new
>registrant to the database and return for=20
an "anewmember.asp"
>
>This is basically how those codes works:
>
>(1) Login.asp: Login screen for registered user to type=20
in their ID and
>password. Data will be sent to "Member.mdb" for=20
verification. If passed,
>it will redirect to another page. If not, it will return=20
to the
>registration form again. This part has no problem. =20
There are sample data
>in the database, and if I typed the correct one, I will=20
be directed to the
>protected page. If not, I will be redirected to another=20
registration form.
>
>***I guess this meant that the database - Member.mdb can=20
be read if I can
>check on its data***
>
>(2) Signup: This is the problem. After filled out=20
registration form and
>pressed "Submint," it will be redirected to=20
a "Confirm.asp" where user can
>confirm all information and if right, click "Confimr" to=20
process the data
>and upon completion, an "anewmember.asp" will be=20
displayed.
>
>Here is the error message after pressed "Confirm button"
>---------------------------------------------------------
>Microsoft OLE DB Provider for ODBC Drivers=20
error '80004005'
>[Microsoft][ODBC Microsoft Access Driver]=A4@ 'Temporary=20
(volatile) Jet DSN
>for process 0xca4 Thread 0xa10 DBC 0x16745f4 Jet'=A1C
>
>/0501-Product/Membership/addnewmember.asp, line25
>
>----------------------------------------------------------
------
>
>Here is codes from line 24-26
>
>Line 24: set my_conn=3D Server.CreateObject
("ADODB.Connection")
>Line 25: my_Conn.Open ConnString
>Line 26: set rscheck =3D my_conn.Execute ("Select email=20
from member where
>email=3D'" & email & "'")
>
>------------------------------------------------------
>
>Many thanks in advance!!!
>
>
>
>
>
>
>
>.
>

Re: Adding new user to database from Web registraton by +FarmerPickles

+FarmerPickles
Sat May 01 10:33:41 CDT 2004

i dont see where you have the name and path of the DB in the script, unless
i am missing something.
Jeff


"Net55" <net55@frontpagewiz.com> wrote in message
news:6d9c01c42f31$e123f6b0$a501280a@phx.gbl...
Make sure the the database and folder are read/write

Net55
net55@frontpagewiz.com
http://www.frontpagewiz.com
>-----Original Message-----
>**** I double posted to Access forum since I don't know
which one is the
>right one, sorry!!!!****
>
>Hi:
>
>I recently downloaded some ASP pages with Access database
verifying and
>adding Web site users.
>
>I managed to make most of them work except for the last
step of adding new
>registrant to the database and return for
an "anewmember.asp"
>
>This is basically how those codes works:
>
>(1) Login.asp: Login screen for registered user to type
in their ID and
>password. Data will be sent to "Member.mdb" for
verification. If passed,
>it will redirect to another page. If not, it will return
to the
>registration form again. This part has no problem.
There are sample data
>in the database, and if I typed the correct one, I will
be directed to the
>protected page. If not, I will be redirected to another
registration form.
>
>***I guess this meant that the database - Member.mdb can
be read if I can
>check on its data***
>
>(2) Signup: This is the problem. After filled out
registration form and
>pressed "Submint," it will be redirected to
a "Confirm.asp" where user can
>confirm all information and if right, click "Confimr" to
process the data
>and upon completion, an "anewmember.asp" will be
displayed.
>
>Here is the error message after pressed "Confirm button"
>---------------------------------------------------------
>Microsoft OLE DB Provider for ODBC Drivers
error '80004005'
>[Microsoft][ODBC Microsoft Access Driver]¤@ 'Temporary
(volatile) Jet DSN
>for process 0xca4 Thread 0xa10 DBC 0x16745f4 Jet'¡C
>
>/0501-Product/Membership/addnewmember.asp, line25
>
>----------------------------------------------------------
------
>
>Here is codes from line 24-26
>
>Line 24: set my_conn= Server.CreateObject
("ADODB.Connection")
>Line 25: my_Conn.Open ConnString
>Line 26: set rscheck = my_conn.Execute ("Select email
from member where
>email='" & email & "'")
>
>------------------------------------------------------
>
>Many thanks in advance!!!
>
>
>
>
>
>
>
>.
>



Re: Adding new user to database from Web registraton by xfile

xfile
Sat May 01 18:19:44 CDT 2004

Hi

Thanks for your tips. Folder is checked with Windows Explorer and it is
read and write. Since verification of existing user ID and password can be
checked against the database, I assume it can be, at least, read.

About the path of the database, you're right and it is not on the line
24-26, it is on line 24 as follows:
----------------------------------
ConnString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" &
Server.MapPath("member.mdb")
----------------------------------------
I did try to change ("member.mdb") to ("membership\member.mdb") where
"membership" is the folder store member.mdb

Thanks.....





"+FarmerPickles" <gig_bam@verizon.net> wrote in message
news:O1f2sG5LEHA.3472@TK2MSFTNGP09.phx.gbl...
> i dont see where you have the name and path of the DB in the script,
unless
> i am missing something.
> Jeff
>
>
> "Net55" <net55@frontpagewiz.com> wrote in message
> news:6d9c01c42f31$e123f6b0$a501280a@phx.gbl...
> Make sure the the database and folder are read/write
>
> Net55
> net55@frontpagewiz.com
> http://www.frontpagewiz.com
> >-----Original Message-----
> >**** I double posted to Access forum since I don't know
> which one is the
> >right one, sorry!!!!****
> >
> >Hi:
> >
> >I recently downloaded some ASP pages with Access database
> verifying and
> >adding Web site users.
> >
> >I managed to make most of them work except for the last
> step of adding new
> >registrant to the database and return for
> an "anewmember.asp"
> >
> >This is basically how those codes works:
> >
> >(1) Login.asp: Login screen for registered user to type
> in their ID and
> >password. Data will be sent to "Member.mdb" for
> verification. If passed,
> >it will redirect to another page. If not, it will return
> to the
> >registration form again. This part has no problem.
> There are sample data
> >in the database, and if I typed the correct one, I will
> be directed to the
> >protected page. If not, I will be redirected to another
> registration form.
> >
> >***I guess this meant that the database - Member.mdb can
> be read if I can
> >check on its data***
> >
> >(2) Signup: This is the problem. After filled out
> registration form and
> >pressed "Submint," it will be redirected to
> a "Confirm.asp" where user can
> >confirm all information and if right, click "Confimr" to
> process the data
> >and upon completion, an "anewmember.asp" will be
> displayed.
> >
> >Here is the error message after pressed "Confirm button"
> >---------------------------------------------------------
> >Microsoft OLE DB Provider for ODBC Drivers
> error '80004005'
> >[Microsoft][ODBC Microsoft Access Driver]¤@ 'Temporary
> (volatile) Jet DSN
> >for process 0xca4 Thread 0xa10 DBC 0x16745f4 Jet'¡C
> >
> >/0501-Product/Membership/addnewmember.asp, line25
> >
> >----------------------------------------------------------
> ------
> >
> >Here is codes from line 24-26
> >
> >Line 24: set my_conn= Server.CreateObject
> ("ADODB.Connection")
> >Line 25: my_Conn.Open ConnString
> >Line 26: set rscheck = my_conn.Execute ("Select email
> from member where
> >email='" & email & "'")
> >
> >------------------------------------------------------
> >
> >Many thanks in advance!!!
> >
> >
> >
> >
> >
> >
> >
> >.
> >
>
>