Hi,
As Wadski told.
You should add IUSR_YOURCOMPUTERNAME user and give write privilages to the folder where your ACCESS database resides. You can do this in Security tab of your folders properties.
Main Topics
Browse All TopicsHi.
I have a page nido_new.asp from which I key in the relevant information or select information from database-retreived records. This page will direct to another page nido_new_ins.asp. In this page I have an include file as below:
<!--#include file="../common/connection
The connection.asp consist of the following code:
<%
dim oDBConn
set oDBConn=Server.CreateObjec
'Common Server Connection
oDBConn.Open "DSN=pacdbs;uid=;password=
%>
In nido_new_ins, I retrive the form variables fron nido_new and put them into an sql statement.
When I try to write to access database using the following command:
sqlcmd="Insert into pacdo (pacdoid,orderfulfilmentpr
"do_memberid,do_ctrequesto
"do_sitename,do_siteaddres
"values(" & pacdoid & ",'" & orderfulfilmentprefix & "'," & orderfulfilmentid & "," & accountid & ",#" & calldate & "#," & calltimehh & "," & _
calltimemm & "," & calltypeid & "," & memberid & ",'" & ctrequestorname & "'," & tripchargeid & ",'" & workorderid & "'," & workordertypeid & ",#" & _
appointmentdate & "#," & appointmenttimehh & "," & appointmenttimemm & "," & appointmenttimetype & ",'" & sitename & "','" & siteaddress1 & "','" & siteaddress2 & "','" & engineercode & "','" & _
engineername & "','" & engineercontact & "','" & specialinstruction & "'," & countryid & ",#" & regdate & "#,0,0)"
oDBConn.Execute sqlcmd
I get an error an error below:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/pacsol/admin/sys/table_ch
Maybe because of access rights issue? Anybody can give suggestions on how to solve this problem?
There was no problem retreiving records from database, but when I try to insert new record the error occurs.
Many thanks in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: WadskiPosted on 2006-05-05 at 03:50:12ID: 16613450
Hi there thaishin,
faqs/ShowF AQ.asp?FAQ ID=107
Have a look here:
http://www.aspfaqs.com/asp
I believe you may be most interested the bit wheich explains how to open a database in the correct mode for Writing back to.
Wadski