This is a discussion on "still having problems writing to database..." within the Classic ASP section. This forum, and the thread "still having problems writing to database... are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
still having problems writing to database...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
still having problems writing to database...
this is the error i get when i try to submit to a database:
Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /login/slog/regcheck.asp, line 70 but this is my query (line 70): Set objRS = conn.execute("INSERT INTO users(uid,pwd,email,website) VALUES ('" & user & "','" & pword & "','" & email & "','" & web & "')") someone please tell me whats going wrong!!! |
|
|
|
#2
|
|||
|
|||
|
is uid an auto-generated field?
|
|
#3
|
||||
|
||||
|
nope, they are all plain text fields
|
|
#4
|
|||
|
|||
|
I think you probably don't have the correct permissions set for your Access file. The system needs to have read, write, modify permission for the file for you to be able to do anything more than just read from the db.
|
|
#5
|
||||
|
||||
|
how do you set those permissions?
|
|
#6
|
|||
|
|||
|
Is it your server or a shared one?
|
|
#7
|
||||
|
||||
|
currently im just running it off of IIS, because i don't have an ASP server...
|
|
#8
|
|||
|
|||
|
It varies based on the OS a little, but you want to right click on the mdb file or the folder containing it and select Security. Under the permissions give Full Permissions to the IUSR_machinename.
|
|
#9
|
||||
|
||||
|
Hi Ben... you may want to see this:-
Access Write Permissions
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#10
|
||||
|
||||
|
thanks rob, i'll have a look and see if it works when i get home!
|
![]() |
| Tags |
| still, having, problems, writing, database |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Data From Form To Database Input Problems | longstand | PHP Forum | 6 | Oct 12th, 2007 15:54 |
| Database Update script problems | as22607 | PHP Forum | 10 | May 14th, 2007 18:08 |
| XML Code for transfering data from one SQL Server Database to another database | plolla | Other Programming Languages | 1 | Aug 3rd, 2006 18:37 |
| problems connecting to database | benbacardi | Classic ASP | 8 | Apr 15th, 2005 16:16 |
| Retrieving text from database and writing back as url | wheatus | Classic ASP | 5 | Dec 22nd, 2004 11:36 |