Ik probeer via een asp script data in een Mysql Databeest te stoppen.
de versie van mysql is 4.0.3
maar als ik boven de 10 inserts kom dan geeft hij een error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Invalid string or buffer length
/newuser/request_new_user_done.asp, line 122
line 122 is een recordset.update
stukje code :
alvast bedankt
de versie van mysql is 4.0.3
maar als ik boven de 10 inserts kom dan geeft hij een error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Invalid string or buffer length
/newuser/request_new_user_done.asp, line 122
line 122 is een recordset.update
stukje code :
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| set strConn = server.CreateObject("ADODB.Connection")
strConn.ConnectionTimeout=60
strConn.Open ("DSN=newuser")
set recordset = server.CreateObject("ADODB.recordset")
strSQL = "Select * From TblNewUser"
recordset.open strSQL,strconn,1,2
Recordset.addnew
Recordset("sessieID") = SessieID
If trim(Request.Form("SpecialInstructions")) >"" then
recordset("SpecialInstructions") = Request.Form("SpecialInstructions")
end if
Recordset("ArOther") = Otherlocation
recordset("GuiFirstname") = Request.Form("GuiFirstname")
recordset("GuiLastname") = Request.Form("GuiLastname")
recordset("GuiLocation") = Location
recordset("GuiCountrycode") = Countrycode
recordset("GuiCompany")= Request.Form("GuiCompany")
recordset("GuiJobtitle") = Request.Form("GuiJobtitle")
recordset("GuiJobFunction") = Request.Form("GuiJobFunction")
recordset("GuiPhonenumber") = Request.Form("GuiPhonenumber")
recordset("GuiFaxnumber") = Request.Form("GuiFaxnumber")
recordset("GuiCostcenter") = Request.Form("GuiCostcenter")
recordset("GuiControlEntity") = Request.Form("GuiControlEntity")
recordset("GuiManager") = Request.Form("GuiManager")
recordset("GuiITManager") = Request.Form("GuiITManager")
recordset.update
recordset.close
set recordset = nothing |
alvast bedankt