I load any VCF file and save it as CardDAW.xml, when loading back this CardDAW.xml, Aspose will always throw exception on load:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
WindowsApplication4.zip (3.9 MB)
Kinda vicious cycle, better to merge different contact classes to a single working one
We have opened the following new ticket
Issue ID(s): EMAILNET-41118
Thanks, the Index was out of range error is fixed, now getting:
Index was outside the bounds of the array.
For this sample file created using Aspose itself:
sample.zip (1.8 KB)
Additionally, when saving this sample xml to vcf , email address field which is the most important field of a contact will not be saved in the target VCF file.
Unfortunately, we were unable to reproduce this error with code
Contact savedcontact = Contact.Load("sample.xml", ContactLoadFormat.WebDav);
savedcontact.Save(fileName + ".vcf", ContactSaveFormat.VCard);
Could you provide you code snippet to reproduce?
We was able to reproduce this bug,a new ticket wil be created after you clarify the previous question.
Hello, my code:
Dim MyCDAWContact As Email.PersonalInfo.Contact = Email.PersonalInfo.Contact.Load(“d:\sample.xml”, Email.PersonalInfo.ContactLoadFormat.WebDav)
Using MyMS As New MemoryStream
MyMS.Position = 0
Using MyMapiContact As MapiContact = MapiContact.FromVCard(MyMS)
Exception occurs on MapiContact.FromVCard - it can be either from Contact making invalid vcf or MapiContact having problems parsing vcf.
Thank you for info.
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-41126
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.