RAS server throwing Not a valid logon token error
ISessionMgr sessionMgr = null;
sessionMgr = CrystalEnterprise.getSessionMgr();
IEnterpriseSession entSession = sessionMgr.logon(CmsUser, CmsPass,
IReportAppFactory rasService = (IReportAppFactory) entSession.getService(ServiceNames.OCA_CR_RASREPORTSOURCE);
the following call is done in a loop for all the reports, using above session info, there are around 1500 reports
after processing few reports I am getting following errors
- The request timed out because there has been no reply from the server for 600,000 milliseconds.
after 4 hours I start getting, I am recycling the session after 10 hours (since there is limit of 12 hours on the session)
- Not a valid logon token.
In which situations will RAS server throw these errors? I don't see much details in the RAS server error log, is there any way to enable detail tracing/logging for RAS server