I have an agent that accesses our Domino Directory and performs a lookup to BluePages based on the members of a group document. My code does a recursive lookup on the manager and gets all of the direct reports of that manager and populates those names in groups in our Domino Directory. If any of those direct reports are a manager, it also pulls their direct reports and populates them as well.
The problem is when I manually attempt to run this agent,I get the error: “Object variable not set” in my Bluepages script library:
Set webDoc = Me.webDb.GetDocumentByURL(formattedURL, True)
Set bodyItem = webDoc.GetFirstItem("Body")
' Other ways of getting text wrap at 80 columns, which is bad.
=========> queryResults = bodyItem.GetFormattedText(False, 200)
bodyItem is not getting set which of course causes the code to fail on the line indicated above. The value of formattedURL at this point is: http://bluepages.ibm.com/BpHttpApisv3/wsapi?directReportsOfLite=022253613
I have recently upgraded from R7 to R8.0.2. My domino administrator is on R8.0.1 and can manually run this agent just fine.
Any ideas???