Manaual vs Server run agent and lss files

Hello. I have a server based background agent running. It calls lss files to obtain certain classes. For some reason, when the agent is scheduled, it can’t seem to find the classes within the lss files. However, when running manually, it does find everything ok.

The %INCLUDE% statements and libraries are all ok, there isn’t any kind of security restrictions on them that I can find.

Thank you very much for reading this.

Subject: some thoughts

It looks to me like the *.lss files you %INCLUDE are present locally on your PC, but not on the server. That would explain why the code runs in the client only (“manually”, as you put it).

Next thing to check is, why are the *.lss files needed at run-time at all? Usually they are no longer required once the code has successfully been compiled. Does the problem persist if you recompile everything? (libs + the agent)