頁: [1]
|
 |
|
作者
|
主題: 新增access資料錯誤~麻煩幫我解答^^" (閱讀 944 次)
|
|
r710502
|
<% testname = request("vaddname") testid = request("vaddid") testpw = request("vaddpw") testpw1 = request("vaddpw1")
%> <html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> </head>
<body> <% Set Conn = Server.CreateObject("ADODB.connection") Set Rs = Server.CreateObject("ADODB.Recordset") conn.open "Provider = Microsoft.JET.OLEDB.4.0;Data Source=" & Server.MapPath("dbtest.mdb") Rs.open "vipdb",conn
Rs.addnew Rs("姓名") = testname Rs("身份證號") = testid Rs("密碼") = testpw Rs.update
response.write "succes!" %> </body>
</html>
錯誤類型: ADODB.Recordset (0x800A0CB3) 目前的資料錄集不支援更新。這可能成為提供者或所選鎖定類型的限制。 /addnew.asp, line 25
瀏覽器類型: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Alexa Toolbar; mxie)
頁數: POST 77 bytes to /addnew.asp
POST Data: VTI-GROUP=0&vaddname=22222&vaddid=2222222222&vaddpw=&vaddpw1=&vaddok=%B0e%A5X
時間: 2006年2月28日, 下午 03:12:21
其他資訊: Microsoft Support
權限問題嗎?使用簡易檔案共用我有打勾了!!!那裡有問題呢?
|
|
|
|
|
已記錄
|
|
|
|
|
小誌
|
Rs.open "vipdb",conn "vipdb"是什麼??
|
|
|
|
|
已記錄
|
|
|
|
|
r710502
|
vipdb=資料表 小誌版主~你有msn或即時通嗎? 我的msn:r710502@hotmail.com
|
|
|
|
|
已記錄
|
|
|
|
|
|
|
r710502
|
那個我打勾了 我也把Rs.open "vipdb",conn 改成Rs.open "vipdb",conn,1,3 還是一樣的錯誤訊息=.=煩惱中
|
|
|
|
|
已記錄
|
|
|
|
|
小誌
|
Rs.open "select * from vipdb",conn,1,3
看清楚!!是將"使用簡易檔案共用"的項目 取消核取然後 Step1:在存放ACCESS的資料夾圖示上按滑鼠右鍵-->內容-->"安全性"頁籤 Step2:新增一個使用者"Everyone" Step3:將使用者"Everyone"的寫入權限打開
|
|
|
|
|
已記錄
|
|
|
|
|
|
|
頁: [1]
|
|
|
|