Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Jun 25, 2015 3:29 pm

Hello,
The below code works for all of my word documents except one in particular

Spire.Doc.Document document = new Spire.Doc.Document(docPath);

The faulty word file mentioned throws an exception that says: Value cannot be null.\r\nParameter name: fontName
Unfortunately I cannot upload the document to you because it contains sensitive material. Is there any way this could be fixed? Just pinpointing the cause of the problem so I could fix it manually would be great.

robertop19.rp
 
Posts: 8
Joined: Mon Apr 27, 2015 10:36 pm

Fri Jun 26, 2015 1:38 am

Hello,

Thank for your inquiry.
It is difficult to say what reason caused this issue if you cannot provide us the sample document. You can remove the sensitive material and then provide us the sample document which can reproduce the issue you encountered here, or you can send it to us( support@e-iceblue.com) via email. We will investigate this issue and update to you ASAP.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.Doc

cron