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.

Wed Oct 12, 2022 3:45 pm

Hello, We have recently upgraded our IIS/.Net server to Windows Server 2019. I've upgraded from Spire 7.11.1 to Spire 10.9.6.0. When I now use doc.SaveToFile(document, Fileformat.Docx2013). The documents appear to save as binary (smaller kb size - Like Word 97). After I physically open the word document with Microsoft Word 2019 and save again, it appears to save in a normal docx format (larger kb size). I have attached the Test document, Output Document, and a pdf of a compare of the documents using BeyondCompare to show it appears in binary format. I'm looking for assistance on why they are showing as binary.

Code:
Document documentOrg = new Document();
documentOrg.LoadFromFile(docXProposalOrgFileDocument, FileFormat.Docx2013);
documentOrg.UpdateTableOfContents();
documentOrg.SaveToFile(docXProposalSaveFileDocument, FileFormat.Docx2013);

tholland
 
Posts: 21
Joined: Fri Dec 01, 2017 6:38 pm

Thu Oct 13, 2022 5:49 am

Hello,

Thanks for your inquiry.
I did reproduce your problem and have logged this issue into our tracking system with the ticket SPIREDOC-8562. Our Dev team will do more investigations. Once there is any update, I will inform you asap. Sorry for the inconvenience caused.

Sincerely,
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Tue Oct 18, 2022 9:20 pm

Thank You! I'll wait for your response.

tholland
 
Posts: 21
Joined: Fri Dec 01, 2017 6:38 pm

Wed Oct 19, 2022 6:25 am

Hello,

Thanks for your feedback.
You are welcome. Once there is any update, I will inform you asap.

Sincerely,
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Tue Nov 08, 2022 9:57 am

Hello,

Glad to inform that we just released Spire.Doc Pack(hot fix) Version:10.11.0 which fixed the issue of SPIREDOC-8562, welcome to test it.
Website link: https://www.e-iceblue.com/Download/download-word-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.Doc/10.11.0

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1248
Joined: Wed Apr 25, 2018 3:20 am

Mon Nov 21, 2022 6:21 pm

Version:10.11.0 - Appears to have fixed our issue. Thank You!

tholland
 
Posts: 21
Joined: Fri Dec 01, 2017 6:38 pm

Tue Nov 22, 2022 3:10 am

Hello,

Glad to hear that, if there is anything else we can do for you in the future, just feel free to contact us!

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1248
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Doc