My question is, when you run a PSOS that goes to a layout, does the server load the onOpen and onClose script of the solution? If not, why does it generate an error. If I write the script to run from client machine, no scripting error shows up in the log. I check to make sure the layout that is accessed doesn't have any script triggers.
You should shield away your opening and closing scripts from being run when on server (if it makes sense to).
Begin them with a IF
Patterncount( Get(ApplicationVersion) ; "Server") and exit script on true.
Thanks for the info. I never would have suspected it was running those scripts if it wasn't for the log. Just went through all the scripts and added the IF statement. Runs without generating a script error now. THANKS.