Dear all,
I am getting the error Response object, ASP 0106 (0x80020005) because of the
following code: What is the error?
if(right(strStid,1))="," then
strStid=mid(strStid,1,len(strStid)-1)
strStid=Split(strStid,",")
j=ubound(strStid)
isArr=true
else
j=0
end if
if(right(strCls1Id,1))="," then
strCls1Id=mid(strCls1Id,1,len(strCls1Id)-1)
strCls1Id=Split(strCls1Id,",")
j=ubound(strCls1Id)
isArr1=true
else
j=0
end if
if(right(strClsName,1))="," then
strClsName=mid(strClsName,1,len(strClsName)-1)
strClsName=Split(strClsName,",")
j=ubound(strClsName)
isArr2=true
else
j=0
end if
if(right(strCatid,1))="," then
strCatid=mid(strCatid,1,len(strCatid)-1)
strCatid=Split(strCatid,",")
j=ubound(strCatid)
isArr3=true
else
j=0
end if
if(right(strCatName,1))="," then
strCatName=mid(strCatName,1,len(strCatName)-1)
strCatName=Split(strCatName,",")
j=ubound(strCatName)
isArr4=true
else
j=0
end if
if(right(strFrDt,1))="," then
strFrDt=mid(strFrDt,1,len(strFrDt)-1)
strFrDt=Split(strFrDt,",")
j=ubound(strFrDt)
isArr5=true
else
j=0
end if
for i=0 to cint(j)
Response.Write i
if isArr then
istrStid=strStid(i)
else
istrStid=strStid
end if
if isArr1 then
istrClsid=strCls1Id(i)
else
istrClsid=strCls1Id
end if
if isArr2 then
istrClsname=strClsname(i)
else
istrClsname=strClsname
end if
if isArr3 then
istrCatid=strCatid(i)
else
istrCatid=strCatid
end if
if isArr4 then
istrCatname=strCatName(i)
else
istrCatname=strCatname
end if
if isArr5 then
istrFrDt=strFrDt(i)
else
istrFrDt=strFrDt
end if
objConn.Execute ("usp_Test '" & istrStid & "','" & istrFrDt & "'," &
istrCatid & ",'" & istrCatname & "'," & istrClsId & ",'" & istrClsname & "','"
& strInstituteId & "','" & strUserId & "','" &
replace(strInstituteName,"'","''") & "','" & strReturnMessage & "','" &
strStatusFlag & "'")
next
Thanks,
sap
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/