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 10, 2016 6:59 pm

Hi,
I am using <package id="Spire.Office" version="2.14" targetFramework="net452" />
with C# on a Windows 10 and server 2012 boxes showing the same problems
I have the following c# code:

Code: Select all
            Spire.Doc.Document document = new Spire.Doc.Document(@"c:\temp\test.docx",FileFormat.Docx);
            var originalPageCount = document.PageCount;


When I call document.PageCount it gives me a stack overflow error. I can not trap it, I cannot predict it, and I cannot fix it.

I have tried to move the file local. I have tried to use the overload to tell the file what type of document it is.

All the same (Stack overflow exception)

I am becoming quite frustrated with these types of errors (there are many, and they all seem to be poorly handled errors on your part).

Any ideas how to fix this?

TalMcMahon
 
Posts: 7
Joined: Thu Apr 21, 2016 12:40 pm

Mon Jun 13, 2016 3:11 am

Hi,

Thanks for your posting.
Sorry for the inconvenienced caused by the issue. I have replicated your issue and forwarded it to our dev team. We will tell you when it is resolved.
Welcome to feel free to contact us if you have further problems.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Thu Jun 16, 2016 7:11 am

Hi,

Thanks for waiting.
The issue has been resolved. Welcome to download and test Spire.Office Platinum (Hot Fix) Version:2.14.1.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Thu Jun 16, 2016 12:47 pm

When is this being pushed to your nuget feed?

TalMcMahon
 
Posts: 7
Joined: Thu Apr 21, 2016 12:40 pm

Fri Jun 17, 2016 1:47 am

Hi,

The version has been updated to Nuget now.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Return to Spire.Doc