I am facing a weird problem here , I have a scheduled agent which runs every 10 minutes on a server (server A) and it deletes and creates documents on another server (server B) . After each run of the agent, this agent creates a session on server B and it opens a port on the same server, This session does not close at all . I tried closing the session on the script using session = Nothing but it does not work. Since the agent keeps running it eventually crashes the server .please let me know why this happens. And how to avoid this
Thanks
Mathew