Domino Agent Error Running Scheduled - Error Creating Product Object

Mindwatering Incorporated

Author: Tripp W Black

Created: 11/30/2018 at 02:10 PM

 

Category:
Notes Developer Tips
Agents

Issue:
Running an agent locally is successful. However, running the agent with ag.RunOnServer or scheduled produces the error:
"Error Creating Product Object".

Cause:
Servers cannot do UI functionality. They have no UI.

Solution:
If there is no line number, this is likely using a UI front-end object dimming. In other words, there is probably an un-used:
Dim w as New NotesUIWorkspace. Remove the line.

If the agent has front-end objects, then rework the code to get whatever kick-off information it needs from a set-up/profile document instead.




previous page