When writing a script to display an RSS feed, I got the following error:
Error: Object required: '[string, 136]'
This is because I was using the SET command to create a string, as shown below:
Dim itm
itm = lnk.link
Response.Write(itm)
Dim itmid
Set itmid = Split(itm,"=")(1)
resulted in the error "Error: Object required: '[string, 136]'"
where this...
Dim itm
itm = lnk.link
Response.Write(itm)
Dim itmid
itmid = Split(itm,"=")(1)
..resulted in no errors.
Leave a comment