I just installed a new BC 13.18 and have run into a weird problem.
When I try to email the statement on a customer the client crashes with only an ArgumentOutofRange error in the event viewer.
I have debugged it down into cu 8800 where we try to create a HTML file using REPORT.SAVEAS that crashes the system.
I have made a simple CU to test and it also crashes the system:
S := FileManagement.ServerTempFileName('html');
F.CREATE(S);
F.CREATEOUTSTREAM(O);
Par := REPORT.RUNREQUESTPAGE(206);
REPORT.SAVEAS(206, Par, REPORTFORMAT::HTML, O);
F.CLOSE;
MESSAGE('Done');
Any idea what happends?