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.

Sat Feb 22, 2020 6:24 pm

I'm encountering an issue when trying to load the attached .doc file, I get an exception stating that the document is not a structured file, but I can load the document without an issue in Word without a problem.

Many thanks in advance,

Darren.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Mon Feb 24, 2020 1:53 am

Hi Darren,

Thanks for your inquiry.
To help us investigate further, please provide your input Word file. You could upload it here or send to us(support@e-iceblue.com) via email.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Feb 24, 2020 8:41 pm

No problem, that is on its way to you now.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Tue Feb 25, 2020 2:30 am

Hi Darren,

Thanks for your file via email.
I have reproduced the issue and logged it in our bug tracking system with the ticket SPIREDOC-3959. We will let you know once it is fixed.
Sorry for the inconvenience caused.

Best wishes,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Sun Mar 08, 2020 12:08 pm

A quick check-in to see how work is going on this issue.

Thanks in advance,

Darren.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Mon Mar 09, 2020 4:36 am

Hello,

Thanks for your following up.
After our Dev team's investigation, we found that your Word document is essentially a text document. To load your document without exception, you could use the following code.
Code: Select all
    Document doc = new Document();
    doc.LoadFromFile("BAD - example.doc",FileFormat.Txt);

Meanwhile, our Dev team will continue to fix this issue. We will inform you once it is fixed.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Fri Mar 13, 2020 7:46 am

Thanks for your reply, you are right someone in our test team will be punished for this :D

Thanks for working on a fix for this though, much appreciated.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Fri Mar 13, 2020 8:43 am

Hello,

Thanks for your feedback.
Anyway, specifying the txt format when loading is just a temporary solution. I got news from our Dev team that they have adjusted the internal code. Now this issue has been fixed and entering the test phase. Once it passes the test, we will compile a hotfix for you.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Thu Mar 26, 2020 8:04 am

Hello,

Thanks for your patient waiting.
Glad to inform that we just released Spire.Office Platinum Version:5.3.7. Now, with this version, you could load your file directly without specifying the txt format. Welcome to download it from the following link.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/5.3.7

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Doc