Error loading ICS

Hello,
An strange error when loading this event:
ics.zip (708 Bytes)

Bug or not? Saved using Aspose Email :slight_smile:

@australian.dev.nerds
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILNET-41112

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hi @australian.dev.nerds
The original ics file contains an invalid StartDate.
To prevent throwing an exception, the ExceptionManager can be used like this:

ExceptionManager.IgnoreList.Add(@“Appointment\Load\InvalidStartDate\355e983b-0513-444d-b1c3-79da4867b54e”);
Appointment app2 = Appointment.Load(fileName);
ExceptionManager.IgnoreList.Clear();

1 Like

Hello
Thanks, no idea why:
DTSTART;VALUE=DATE:20121030
or
20121030
is invalid, however, ics was saved from pst using Aspose Email some times ago!

About ExceptionManager ignore list, is there a global value to set to prevent and ignore all exceptions when loading Appointment?
The provided sample is very static and specific to cases with StartDate.
Like:

ExceptionManager.IgnoreList.Add(@“Appointment\All\AllCases\xxxxx

And I didn’t get the following GUID in the line.

Hi @australian.dev.nerds

RRULE in source ics file contains rule BYMONTHDAY=31 but StartDate day is 30. Outlook also do not open this file.

No.ExceptionManager is not designed to suppress all exceptions, but provides handling of special situations that do not lead to global errors. To ignore all exceptions use block try/catch in you code.