Link to home
Start Free TrialLog in
Avatar of dotsandcoms
dotsandcoms

asked on

Error in Classic ASP

Hi,

I am getting the below 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.

I am using the DSN connection.

Can any one tell me why i am getting this type of error?

Regards

Glenn


set rs=Server.CreateObject("ADODB.Recordset")
	rs.open "Member",conn,3,2
	rs.addnew
			rs("uname") = username
			rs("password") = password
			rs("sq") = sq
			rs("sa") = sa
			rs("title") = title
			rs("fname") = firstname
			rs("lname") = lastname
			rs("gender") = gen
			rs("dob") = dob
			rs("address") = address
			rs("city") = city
			rs("zip") = zip
			rs("state") = state
			rs("country") = country
			rs("phone") = phone
			rs("mobile") = mobile
			rs("email") = email
			rs("tc") = tc
			rs("mdate") = date
			rs("approve") = 1
 
	rs.update
	rs.close
	set rs=nothing

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dotsandcoms
dotsandcoms

ASKER

good one