ics files sent through exchange result in "not supported calendar message.ics"

Help
2014-01-15
2014-01-16
  • Shane Witbeck

    Shane Witbeck - 2014-01-15

    I'm using ical4j version 1.0.3 and running into this issue which seems to be related to http://support.microsoft.com/kb/2643084.

    Here's an example of an ics created with ical4j:

    BEGIN:VCALENDAR
    PRODID:-//Foo Software//Foo Events//EN
    METHOD:REQUEST
    VERSION:2.0
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    DTSTAMP:20140115T213012Z
    DTSTART;TZID=America/Los_Angeles:20140115T140000
    DTEND;TZID=America/Los_Angeles:20140115T150000
    SUMMARY:TESTING EVENT DURRR
    ORGANIZER;CN=Ethan Jones:MAILTO:foo-265865246-41q-1lopzu-2fu@brewspac
     e.fooland.com
    ATTENDEE;CN=Michael Smith;ROLE=OPT-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP
     =TRUE:michael.smith@foosoftware.com
    DESCRIPTION:blah blah halb
    UID:20140115T212926Z-foo-event@localhost
    CLASS:PUBLIC
    TRANSP:OPAQUE
    STATUS:CONFIRMED
    SEQUENCE:0
    LOCATION:RIGHT HURR
    BEGIN:VALARM
    TRIGGER:PT15M
    ACTION:DISPLAY
    DESCRIPTION:hello
    END:VALARM
    END:VEVENT
    END:VCALENDAR
    
     
  • Ben Fortuna

    Ben Fortuna - 2014-01-15

    Hi Shane,

    Have you tried enabling the OUTLOOK_COMPATIBILITY hint in ical4j.properties? I am not sure if the fold length impacts on Outlook's parsing of ICS data:

    https://github.com/ical4j/ical4j/blob/master/docs/CompatibilityHints.md

    If you find out it's caused by something else please let me know and I will try to update the above hint to cater for it. Thanks.

    regards,
    ben

     
  • Shane Witbeck

    Shane Witbeck - 2014-01-16

    Hi Ben,

    Thanks for the reply. Adding the OUTLOOK_COMPATIBILITY hint didn't fix the issue. The code already had RELAXED_UNFOLDING and RELAXED_PARSING hints set so I'm not sure if there could be a bad combination of hints.

    After doing more research last night, it seems Exchange Server 2010 added more restrictive ics processing. I've also found this doc (http://msdn.microsoft.com/en-us/library/ee219935(v=exchg.80).aspx) which outlines the ical to outlook appointment conversion algorithm. Hopefully going through this will shed some light on the issue.

    If you have any other references or ideas you think might be helpful I'd appreciate it. It seems this is a common problem.

     
  • Shane Witbeck

    Shane Witbeck - 2014-01-16

    I was also wondering if there's an up-to-date changelog? I haven't been able to find one for versions 1.0.3 and up.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks