Anyone is having issues with curdrive$() or curdrive(). I am creating a directory to detach attachments and attach them again to store into a new document. Hence checking the drive before creating a directory.
Since 3 mnths, this process is scheduled and is okay on 5.10 server.
While testing on R6.5, it is failing at that line without proceeding further and gives me a message in log as “Operation is disallowed in this session”.
When this agent is debugged, the agent processes the document without any problem creating directory, detach and attach, if there are any attachments. But when scheduled, fails at that line and do not process further.
Anyone encountered this sort of problem? Input is appreciated. Thank you.