What's the exact text of the error, and what line is it occurring on? Dan
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Sap BAL Sent: 27 September 2005 12:02 To: ASP groups Subject: [AspClassicAnyQuestionIsOk] ASP Array error 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] SPONSORED LINKS Basic programming language <http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic +programming+language&w2=Computer+programming+languages&w3=Programming+l anguages&w4=Java+programming+language&w5=The+history+of+computer+program ming+language&c=5&s=176&.sig=clJRDppRYABhs6xUhzokKw> Computer programming languages <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=B asic+programming+language&w2=Computer+programming+languages&w3=Programmi ng+languages&w4=Java+programming+language&w5=The+history+of+computer+pro gramming+language&c=5&s=176&.sig=RiWZhYTiihJ1rWfeFgB2sg> Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+prog ramming+language&w2=Computer+programming+languages&w3=Programming+langua ges&w4=Java+programming+language&w5=The+history+of+computer+programming+ language&c=5&s=176&.sig=2BgLsjKfGvxPndstKBMU9g> Java programming language <http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+ programming+language&w2=Computer+programming+languages&w3=Programming+la nguages&w4=Java+programming+language&w5=The+history+of+computer+programm ing+language&c=5&s=176&.sig=4wWSX5WKx7BCK9SrMVdrxQ> The history of computer programming language <http://groups.yahoo.com/gads?t=ms&k=The+history+of+computer+programming +language&w1=Basic+programming+language&w2=Computer+programming+language s&w3=Programming+languages&w4=Java+programming+language&w5=The+history+o f+computer+programming+language&c=5&s=176&.sig=iNvYp6cfd9HwtDhK1iV-rg> ________________________________ YAHOO! GROUPS LINKS * Visit your group "AspClassicAnyQuestionIsOk <http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] subscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ________________________________ [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/
