Hi all,
I have a curious problem. A database we developed for one of our clients stopped running a scheduled agent. The server log indicated the error
Error loading USE or USELSX module: xxx
I checked and saw that the Script Library xxx was saved with a date after the agent was last saved. So, I saved the agent again and received no errors during the recompile. However, the next night, the agent failed to run again, with the same problem logged in the server’s log database.
Trying to run the agent manually displays the following error in a dialog box:
Error processing use list module: Scripted Object
followed by:
Error loading USE or USELSX module: xxx
Apparently, the agent calls all of the functions out of the script library xxx correctly (no missing or mistyped parameters, etc.) or else the compilation would have caught that problem as I was saving the agent. But when I run the code, it fails.
Is it possible that there is some sort of corruption in the design note of the script library? When I look at the design note of the script library, it contains the $ScriptLib item (with my code visible in its text representation) but does not contain the $ScriptLib_O item (with its object code) as do my other LotusScript libraries.
Any help will be appreciated, although I suspect the answer will be to export the source code, delete the original script library and import the source code into a new script library, allowing the Object Code to be recreated.