Error: Data provider or other service returned an E_FAIL status
am 27.09.2005 08:32:28 von daveHi
I'm getting following error sometimes..Problem is error doesnt come up
everytime so its hard to figure out..
Microsoft Cursor Engine error '80004005'
Data provider or other service returned an E_FAIL status.
Below is my code snippet...
sql = "Select * from tblDetailLogs"
set tp = database.executequery1(sql,3,3)
for i = 1 to 10
tp.addnew
summaryofvisit = "tx_"&i&"_svisit"
followuprequired = "tx_"&i&"_foreq"
followupdate = "tx_"&i&"_fodt"
sendboard = "chk_"&i&"_board"
tp("DailyVisitLogID") = dailyvisitid
tp("GroupID") = i
tp("SummaryOfVisit") = request.Form(summaryofvisit)
tp("Followuprequired") = request.Form(followuprequired)
tp("Followuprequired") = request.Form(followuprequired)
tp("SendToBoard") = request.Form(sendboard)
if trim(request.Form(followupdate)) <> "" Then
tp("FollowupDate") = request.Form(followupdate)
end if
tp.update
next
set tp = nothing
After trying to found solution, I came up by that its not coding problem
but its because of
MDAC component installed on web server and ADO librarry are not most recent.
Any one had encounterd same problem?? Is there could be any other reason tht
cause an error?
Most of the time code works fine but some times it throws an error..
any help would be appreciated!!
Thanking you...
dave