Hi everyone,
I have a bit of a problem with an application I'm working on. I am submitting information to an access database and keep recieving this error "2147217900" which, from googling it, seems to be a permissions error on the access database. I have gone in and reset the permissions for the IUSR-XXXXX account to full control but still recieve this error. Can anyone help me clear this up?
I have a bit of a problem with an application I'm working on. I am submitting information to an access database and keep recieving this error "2147217900" which, from googling it, seems to be a permissions error on the access database. I have gone in and reset the permissions for the IUSR-XXXXX account to full control but still recieve this error. Can anyone help me clear this up?
Code:
dim CONN, RS, SQL
SET CONN = server.CreateObject("ADODB.Connection")
CONN.Provider = "Microsoft.Jet.OLEDB.4.0"
CONN.Open = "C:\inetpub\[URL unfurl="true"]wwwroot\asp_test\blog\blog.mdb"[/URL]
SQL = "INSERT INTO replies ([R_Blog_id], [R_postby], [R_posttime], [R_comments]) values ('"& R_Blog_id&"','"&R_postby&"','"&R_posttime&"','"&R_comments&"');"
on error resume next
CONN.Execute SQL', recaffected
if err<>0 then
Response.Write("No update permissions!" & err)
else
Response.Write("<h3>record added</h3>")
response.Write("<p><a href='bloglist.asp'>Click to go back</a>")
end if
conn.close