a) Issue Description
Even though report are getting generated in Report downloads modules, Email displays "OCM Export Scheduler not able to generate report:".
b) Components to Verify
Check the below key in app.config
<add key="EmailNotify" value="1" />
<add key="DownloadCheckThreadSleepTime" value="20000" />
If EmailNotify is enabled, make thread to sleep for specified milliseconds, so that for every retry count file download is checked (eg: 20000 as 20 seconds).If Report has large data change the value to 40000 as 40 seconds.
This happens either the Email Notify key is not enabled or DownloadCheckThreadsleeptime key is not present . Also if we will not provide thread sleep time then export scheduler will send an email before the report is getting generated.
e) Next Steps
Change the value of the key DownloadCheckThreadSleep to 20000 or 40000(depending on the report size). schedule a report in export scheduler and check the Emails when report is generated