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.

Fri Jun 16, 2017 3:31 pm

Hi

I'm currently evaluating your product in order to convert .docx files to .xps using:

doc.SaveToFile(tempFile, FileFormat.XPS);

The generated .xps file is intermittently corrupting as shown in the attached file. I've tried loading via stream and via file with no difference.

Any ideas?

Regards

Matt

matt.sherwin@tsg.com
 
Posts: 2
Joined: Thu Feb 04, 2016 10:58 am

Mon Jun 19, 2017 1:58 am

Hello,

Thanks for your inquiry.
After an initial test using the latest hotfix(Spire.Doc Pack(hot fix) Version:5.9.31), the issue didn't occur on my side, therefore, I suggest you trying the hotfix at first. If there's still any issue, welcome to contact us again.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Jun 20, 2017 7:40 am

Hi Matt,

How is your issue now?
Could you please give us some feedback at your convenience?

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Jun 20, 2017 8:49 am

Hi

I installed the hotfix and rebuilt my code. I ran a batch of 6 files to convert and the first run worked OK, however, on the second run all files showed the corruption.

Regards

Matt

matt.sherwin@tsg.com
 
Posts: 2
Joined: Thu Feb 04, 2016 10:58 am

Tue Jun 20, 2017 9:48 am

Hello Matt,

Thanks for your feedback.
To help us with a better investigation, could you please provide the following details?
• The environment you are running on
• OS and Architecture (32 / 64 bit)
• The code and all the 6 sample files that cause the issue
You can send the details to us via email(support@e-iceblue.com).
Many thanks for the cooperation.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.Doc