Hello,
I have designed a really nice and complicated report with JetReports 2010 R2 and Office 2010 that I scheduled to run daily and e-mail using the SMTP server.
Problem - the report runs great (I looked in the Output version) but the mail didn't got thru. I looked into the log file and I came up with this:
2012-01-25 23.30.00 Error logging initiated.
2012-01-25 23.30.00 AutoPilot command line: /M "Update" /I "C:\Users\Administrator.SERVERNAME\ReportPath\ReportName.xlsx" /O "C:\Users\Administrator.SERVERNAME\ReportOutputPath\ReportName.xlsx" /L "C:\Users\Administrator.SERVERNAME\ReportOutputPath\log.txt" /E "elena@email.ro" /S /U "ReportName"
2012-01-25 23.33.39 The message could not be sent.
2012-01-25 23.33.39 Failure sending mail.
2012-01-25 23.33.39 Index was outside the bounds of the array.
Any ideas, please? Have you encountered this issue before?
Thanks,
Elena
3 comments
-
Jet Reports Historic Posts Hi Elena,
This could be an issue that needs to be fixed in the product, so I think you should probably make a ticket for it with Jet support. An index being outside the bounds of an array is probably a programming-related issue that needs to be fixed if it hasn't already been fixed in a more recent version of Jet. Thanks!
Regards,
Hughes
P.S. Even if the error is fixed, it may not guarantee the e-mail is sent since Outlook can be notoriously fickle. For more reliable results doing e-mail with the Scheduler, use SMTP to send the e-mail rather than Outlook. SMTP can be configured in the Jet Application Settings. -
Jet Reports Historic Posts Hi Hughes,
Thanks for your reply - I was hoping that someone else had encountered this issue… I will do some more research and I will post a ticket with Jet Support if I can't find anything useful. The thing is that my other 20+ report work great with the schedule - for e-mail I don't use Outlook, but SMTP .
Have a nice day!
Elena -
Jet Reports Historic Posts Hello,
I got this message from Jet Support that fixed my problem:
"This would appear to be a known issue when sending large attachments through SMTP.
Microsoft has released a patch for this issue. You can find that patch and some additional information here –> https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=30226"
Elena