Hi,
Does anybody know what this error is about?
____
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable
query.
/app/admin/admin.asp, line 201
_____
many thanks!
wilbert 4 6530
sorry forgot this:
some of the code:
____
If u_action <> "add" then
select case u_action
case "insert"
sql = "insert into news (title,body,author,insert_date)"
sql = sql & " values( '" & u_title & "' , '" & u_body & "' , '" & u_author &
"' , #" & u_date & "#)"
case "display"
sql="select * from news where id="&u_id
case "delete"
sql="delete from news where id="&u_id
case "edit"
sql="select * from news where id="&u_id
case "logout"
session("password") = ""
case "update"
u_id=request.form("u_id")
sql = "UPDATE news SET title='" & u_title & "',"
sql = sql & " body='" & u_body & "',"
sql = sql & " insert_date=#" & u_date & "#,"
sql = sql & " author='" & u_author & "'"
sql = sql & " WHERE id="&u_id
case else
sql="select * from news order by insert_date desc "
end select
accessdb="../db/db_sdp.mdb"
cn="driver={Microsoft Access Driver (*.mdb)};"
cn=cn & "dbq=" & server.mappath(accessdb)
Set rs = Server.CreateObject("ADODB.Recordset")
(Line 201) rs.Open sql, cn
I have been working with it, but after changing some small things and moving
to a different server it don't work anymore!
bye Wilbert
Have you checked if your database on the folder its in have the correct
pemission settings
i.e. read/write access
I think that should solve it for you.
"netje" <ne***@netcreative.nl> wrote in message
news:3f***********************@news.euronet.nl... sorry forgot this:
some of the code:
____
If u_action <> "add" then select case u_action
case "insert"
sql = "insert into news (title,body,author,insert_date)"
sql = sql & " values( '" & u_title & "' , '" & u_body & "' , '" & u_author
& "' , #" & u_date & "#)"
case "display"
sql="select * from news where id="&u_id
case "delete"
sql="delete from news where id="&u_id
case "edit"
sql="select * from news where id="&u_id
case "logout"
session("password") = ""
case "update"
u_id=request.form("u_id")
sql = "UPDATE news SET title='" & u_title & "',"
sql = sql & " body='" & u_body & "',"
sql = sql & " insert_date=#" & u_date & "#,"
sql = sql & " author='" & u_author & "'"
sql = sql & " WHERE id="&u_id
case else
sql="select * from news order by insert_date desc "
end select accessdb="../db/db_sdp.mdb"
cn="driver={Microsoft Access Driver (*.mdb)};"
cn=cn & "dbq=" & server.mappath(accessdb)
Set rs = Server.CreateObject("ADODB.Recordset")
(Line 201) rs.Open sql, cn I have been working with it, but after changing some small things and
moving to a different server it don't work anymore!
bye Wilbert
Yes, that will be it...
I contacted my hostingprovider.. they have to change that for me..
did'nt now that! i'm used to work on a unix-server...
Bye
Wilbert
"rick watkins" <r.*********@btopenworld.com> schreef in bericht
news:er**************@TK2MSFTNGP11.phx.gbl... Have you checked if your database on the folder its in have the correct pemission settings i.e. read/write access
I think that should solve it for you.
"netje" <ne***@netcreative.nl> wrote in message news:3f***********************@news.euronet.nl... sorry forgot this:
some of the code:
____
If u_action <> "add" then select case u_action
case "insert"
sql = "insert into news (title,body,author,insert_date)"
sql = sql & " values( '" & u_title & "' , '" & u_body & "' , '" &
u_author & "' , #" & u_date & "#)"
case "display"
sql="select * from news where id="&u_id
case "delete"
sql="delete from news where id="&u_id
case "edit"
sql="select * from news where id="&u_id
case "logout"
session("password") = ""
case "update"
u_id=request.form("u_id")
sql = "UPDATE news SET title='" & u_title & "',"
sql = sql & " body='" & u_body & "',"
sql = sql & " insert_date=#" & u_date & "#,"
sql = sql & " author='" & u_author & "'"
sql = sql & " WHERE id="&u_id
case else
sql="select * from news order by insert_date desc "
end select accessdb="../db/db_sdp.mdb"
cn="driver={Microsoft Access Driver (*.mdb)};"
cn=cn & "dbq=" & server.mappath(accessdb)
Set rs = Server.CreateObject("ADODB.Recordset")
(Line 201) rs.Open sql, cn I have been working with it, but after changing some small things and moving to a different server it don't work anymore!
bye Wilbert
Hi
Check your web directory security.
"netje" <ne***@netcreative.nl> wrote in message
news:3f***********************@news.euronet.nl... Hi,
Does anybody know what this error is about?
____
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/app/admin/admin.asp, line 201
_____ many thanks! wilbert This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Shorthouse |
last post by:
Hello folks,
I have a problem with an update query on an asp not updating the table
in an Access db. The code runs, I have no errors, but when I examine the
table, nothing was updated. The query...
|
by: Randy Harris |
last post by:
I imported records into a table, later found out that many of them had
trailing spaces in one of the fields. If I'd caught it sooner, I could have
trimmed the spaces before the import.
This...
|
by: James Butler |
last post by:
Our setup:
Online db: MySQL
Inhouse db: MS Access 97 with MySQL tables linked via ODBC
Our issue:
Almost every field updates successfully, except one.
A scenario:
Information is written to...
|
by: Aaron |
last post by:
Hello fellow programmers,
I am trying to run an append/update query from code, a command button
on a form initiates the queries.
the format i am using is;
...
|
by: NigelMThomas |
last post by:
I have an especially challenging problem. I know there are a few
geniuses in this group so perhaps; you can advise me whether or not
this can be done as an update query in Access. Thanks.
I am...
|
by: Shapper |
last post by:
Hello,
I have created 3 functions to insert, update and delete an Access
database record. The Insert and the Delete code are working fine.
The update is not. I checked and my database has all...
|
by: Reedsp |
last post by:
OS: MS XP
Access version: 2003 SP2
I am trying to use an update query to replace quote marks with nothing. In essence, I'm removing quote marks. I get a error message when a field is empty or...
|
by: teddysnips |
last post by:
Having upsized my client's back-end DB to SQL Server, the following
query does not work ("Operation must use an updateable query").
UPDATE tblbookings INNER JOIN tblREFUNDS ON...
|
by: DuncanIdaho |
last post by:
Hi
Apologies if this is similar to a (very) recent post.
I was wondering if it is possible to execute an update query that
contains a select statement on an MS access 2000 database.
I have...
|
by: Michel Esber |
last post by:
Hi all,
DB2 V8 LUW FP 15
There is a table T (ID varchar (24), ABC timestamp). ID is PK.
Our application needs to frequently update T with a new value for ABC.
update T set ABC=? where ID...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |