We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception " ‘address’ cannot be an empty string" on loading ICS file (C#)

I have an ics stream (downloaded from Exchange) that is giving me the exception

System.ArgumentException : The parameter ‘address’ cannot be an empty string.

The code utilized is

    public void AsposeOpenIcsWithEmptySmtpAddress()
        var appointment = Appointment.Load(@"ProblematicAppointment01.ics", new Aspose.Email.Calendar.AppointmentLoadOptions() { IgnoreSmtpAddressCheck = true });

The ics file is

ProblematicAppointment01.zip (721 Bytes)

The issue seems to be due to record


If the record was as below, Aspose would not complain



I have worked with the issue shared by you and it seems to be an issue in API. An issue with ID EMAILNET-39446 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Ok thanks @Adnan.Ahmad