arash kardanpoor
Member
اقا من در حال ساختن يك اسكريپت لوگين هستم كه كد آن اين است
[hr:9e1927c793]
set my_conn= Server.CreateObject("ADODB.Connection")
my_Conn.Open ConnString
set rscheck = my_conn.Execute ("Select user from member where user='" & user & "'")
if rscheck.eof then
been_here_before="No"
end if
RScheck.close
set rs = server.createobject("adodb.recordset")
if been_here_before="No" then
rs.open "member",my_conn,1,3
RS.AddNew
RS("user")=user
RS("Name")=name
RS("email")=email
RS("address")=address
RS("city")=city
RS("state")=state
RS("country")=country
RS("zipcode")=zipcode
RS("password")= password
RS("memberdate")= now()
RS.update
[hr:9e1927c793]
ولي بعد در هنگام تست كردن اين ارور ميدهد
[hr:9e1927c793]
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
/addnewmember.asp, line 77
خواهش ميكنم اگر ميدانيد كمكم كنيد
با تشكر
[hr:9e1927c793]
set my_conn= Server.CreateObject("ADODB.Connection")
my_Conn.Open ConnString
set rscheck = my_conn.Execute ("Select user from member where user='" & user & "'")
if rscheck.eof then
been_here_before="No"
end if
RScheck.close
set rs = server.createobject("adodb.recordset")
if been_here_before="No" then
rs.open "member",my_conn,1,3
RS.AddNew
RS("user")=user
RS("Name")=name
RS("email")=email
RS("address")=address
RS("city")=city
RS("state")=state
RS("country")=country
RS("zipcode")=zipcode
RS("password")= password
RS("memberdate")= now()
RS.update
[hr:9e1927c793]
ولي بعد در هنگام تست كردن اين ارور ميدهد
[hr:9e1927c793]
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
/addnewmember.asp, line 77
خواهش ميكنم اگر ميدانيد كمكم كنيد
با تشكر