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.

Thu Apr 01, 2021 2:22 pm

I have an issue with a .doc file with an embedded PDF. The file loads without issue, but when I try to get the page count, the call "never" returns. For the 600K file that is causing me issues, I have left it for 20+ mins, by which time it has consumed over 2Gb of RAM and shows no signs of returning.

I have tried to create a document from scratch that repeats the issue, without success, but these return from the call almost instantly.

This is the code that I am using that recreates the issue.

Code: Select all
       
        public void DocWithEmbeddedPDF()
        {
            Document doc = new Document();
            string strFileName = @"3056036B-NI_Select_Changes.doc";

            doc.LoadFromFile(strFileName);

            Console.WriteLine($"Processing: {strFileName}");
            Console.WriteLine($"File Contains Macros:\t{doc.IsContainMacro}");
            Console.WriteLine($"Number of Pages:\t{doc.PageCount}");
            Console.WriteLine($"Test Completed");
        }


I will send the file that recreates the issue to the support email address and reference this item.

Let me know if you need anything further,

Darren.

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

Fri Apr 02, 2021 3:56 am

Hello,

Thanks for your inquiry.
I tested you case and did reproduce your issue, I have logged it in our bug tracking system with the ticket SPIREDOC-5776. If there is any update, we will let you know. Apologize for the inconvenience caused.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Sun Apr 11, 2021 9:25 am

Just a quick check-in on this issue - Do you have an ETA for resolution and release?

Many thanks in advance,

Darren

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

Mon Apr 12, 2021 3:09 am

Hello Darren,

Thanks for your follow up.
I just check the status of your issue and found that it has not been solved. Our Dev team is still investigating your issue. Anyway, I have requested them to share any possible ETA at their earliest time. I will inform you as soon as there is any update.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri Apr 16, 2021 6:41 am

A quick check-in on this issue - Any update on the ETA, I'm trying to plan the release schedule for our software including the fix.

TIA,

Darren

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

Fri Apr 16, 2021 9:58 am

Hello Darren,

Thanks for your follow up.
We are very sorry that our Dev team is still investigating this issue due to its complexity. Anyway, I have given your issue the highest priority and requested them to share any possible ETA at their earliest time.
We will notify you as soon as there is any update. Apologize for the inconvenience caused.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Apr 21, 2021 5:56 am

Just a quick check-in. Any news on an ETA for this issue?

Thanks in advance,

Darren

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

Wed Apr 21, 2021 6:41 am

Hello Darren,

Thanks for your follow up.
I just checked the status of your issue and found it has been resolved. Our Test team is now testing the hotfix. Once it passes the test, we will prepare a fixed version for you. Thanks for your patience.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Apr 21, 2021 8:35 pm

No problem. Thanks for the update.

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

Fri Apr 30, 2021 10:01 am

Hello,

Greetings from E-iceblue!
Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version:6.4.4 which fixes the issue SPIREDOC-5776, please download it from the following links to test on your side. Looking forward to your test result.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/6.4.4

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri May 07, 2021 3:56 am

Hello,

Greetings from E-iceblue.
Does this hotfix solve your issue? Could you please give us some feedback at your convenience?

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue May 11, 2021 8:06 am

Our testing has completed and I can confirm that the issue is resolved :)

Thank you for the quick turn around.

Darren

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

Tue May 11, 2021 8:38 am

Hello Darren,

Glad to hear this hotfix can solve your issue.
If you encounter any issues related to our products in the future, please feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Sat May 15, 2021 11:34 am

hello rich
thanx for your help. finally i was able to execute the example. the issue was with the output and grid namelist. its not accepting the namelist options of earlier version.
thank you
Richa

RonaldSwive
 
Posts: 4
Joined: Mon Apr 19, 2021 7:25 pm
Location: Israel

Mon May 17, 2021 3:07 am

Hello,

Thanks for your post.
If you encounter any issues related to our products in the future, please feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.Doc