|
seth -> Microsoft OLE DB Provider for ODBC Drivers error '80040e21' (11/19/2003 15:09:24)
|
I was trying to insert a new record into the database which has the correct folder permissions, when i got this error: Microsoft OLE DB Provider for ODBC Drivers error '80040e21' Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
<%
Set connDB = Server.CreateObject("ADODB.Connection")
connDB.Open "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("\prr2b\ad4ba1.mdb") & ";"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open "captured", connDB, 1, 3, 2
RS.AddNew
RS("id") = id
RS("ipA") = IPn //response.write IPnum give a value of 2392925859
RS.Update
RS.Close
Set RS = Nothing
connDB.Close
Set connDB = Nothing
%>
the ipA column is set to long interger and id is the primary key column that is non duplicate autonumber. Any ideas as to the error?
|
|
|
|