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.

Tue Jan 28, 2014 10:41 am

Hi,

I'm getting stack overflow excpetion when converting DOCX to PDF.

Here is my method (I call it in loop):
Code: Select all
      public void ConvertDocxToPdf(string fileIn, string fileOut)
      {
         var doc = new Document();
         doc.LoadFromFile(fileIn);
         doc.SaveToFile(fileOut, FileFormat.PDF);
      }

After converting first file (successfully) it throws:
An unhandled exception of type 'System.StackOverflowException' occurred in Spire.Doc.dll

I use NET4.0 ClientProfile dll in .net framework 4.5 project.

mateusz
 
Posts: 2
Joined: Tue Jan 28, 2014 9:33 am

Wed Jan 29, 2014 7:07 am

Hi mateusz,

Sorry for the inconvenience caused by us.
Would you please provide us the below detailed information, which may help us to reproduce your issue and offer the solution to you quickly.

1. Dll file list (name + version), for example:
Spire.Doc.dll v4.9.32.3040
Spire.License.dll v4.9.32.3040
Spire.Pdf.dll v2.8.86.3040

2. Operation System, for example:
Windows 7 Enterprise Edition SP1 x64
Regional and Language Options

3. Project can reproduce the issue
All code about this problem, a simple project which can reproduce this problem will be better.

4. Test Document or Test data
Please provide your test document to us if convenient, it may help us reproduce your issue quickly. We promise to keep your document confidential and we will not use it for any other purpose. Besides, you could also remove the security data of your document and then send it to us.

Thanks and Regards,
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

harry.support
 
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Wed Jan 29, 2014 9:27 am

1. Spire.Doc.dll - 5.0.12.3041
Spire.Licence.dll - 1.3.2.41
Spire.Pdf.dll - 2.9.22.3041

2. Windows 7 Professional SP1 x64
Regional and Language Options:
Format: Polish (Poland)
Short date: rrrr-MM-dd
Long date: d MMMM rrrr
Shot time: GG:mm
Long time GG:mm:ss
First day of week: Monday

Decimal symbol: , (comma)
No. of digits after decimal: 2
Digit grouping symbol:
Digit grouping: 123 456 789
Negative sign symbol: -
Negative number format: -1,1
Display leading zeros: 0,7
List separator: ; (semicolon)
Measurement system: Metric

Currency symbol: zł


Please give me email address so I can send you my project.

Thanks!

mateusz
 
Posts: 2
Joined: Tue Jan 28, 2014 9:33 am

Thu Jan 30, 2014 9:53 am

Hello,

Thanks for your response.
Please kindly send your data to support@e-iceblue.com.

Best wishes,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Apr 18, 2014 5:13 pm

amy.zhao wrote:Hello,

Thanks for your response.
Please kindly send your data to support@e-iceblue.com.

Best wishes,
Amy
E-iceblue support team


Hi,

Was this ever resolved? I'm also having the same issue when I save a word document as a PDF, if that document contains a table.

ascsoftware
 
Posts: 7
Joined: Mon Feb 10, 2014 6:48 pm

Mon Apr 21, 2014 3:13 am

Hello,

Thanks for your inquiry.
We have also received the email you sent, and my colleague Amy has provided you the solution by email, please test it.
If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed May 20, 2015 1:12 am

I am also having this problem.

It appears to be crashing after opening a large (~27kb) docx into a Spire Document.

Spire.Doc.dll - 5.4.15.3040
Spire.License.dll - 1.3.5.40
Spire.Pdf.dll - 3.3.14.3040

Windows 8.1 Pro
English (Australia)
Short Date: d/MM/yyyy
Long date: dddd, d MMMM yyyy
Short time: h:mm tt
Long time: h:mm:ss tt
First day of week: Monday

I will email sample code and the document to support@e-iceblue.com

Any help that can be provided would be greatly appreciated.

rmsdev
 
Posts: 5
Joined: Wed May 20, 2015 1:02 am

Wed May 20, 2015 2:43 am

Hello,

Thanks for your inquiry.
I have reproduced your issue, and posted it to our dev team. We will inform you when it is fixed.

Best Regards,
Betsy
E-iceblue support team
User avatar

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

Thu Jun 04, 2015 11:32 pm

Hi guys,

Any updates on this?

rmsdev
 
Posts: 5
Joined: Wed May 20, 2015 1:02 am

Fri Jun 05, 2015 1:39 am

Hello,

Sorry for keep you waiting. Your issue has been resolved, please try the Spire.Doc Pack( hot fix) Version:5.4.25. If there are any questions, welcome to get it back to us.

Thanks,
Betsy
E-iceblue support team
User avatar

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

Return to Spire.Doc