I have an agent that seems to run just fine, I’ve debugged it all the way through. Locally it completes without error if I run through the Designer. If I set the agent to run on the server, it errors out essentially on “End Sub”
The end of the Initialize event is this:
Print "Closing down ..."
End Sub
In the Server log, the Print statement executes and then is followed by an error “Objective Variable Not Set”.
I can add 20 Print statements in before ‘End Sub’ and all will print but there is still the error at the end. Again, only when running on the server.
Any idea what might cause this? Should I recreate the agent?