@jacmac Could you please attach your problematic input and output documents here for testing? We will check the issue and provide you more information.
@jacmac Thank you for additional information. Unfortunately, I cannot reproduce the problem on my side. I tested with both 25.2 and the latest 25.3 versions and I can successfully convert your document to PDF using the following simple code:
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");
I’m still having the same problem with Aspose Word.net 25
Unfortunately it’s classified document so I can’t freely share it with you.
I’ll try to isolate the problematic part and send it over.
I’ve Isolated the problematic parts.
I’m aware it’s a missing refs issue; however, it’s only throwing exception in version 25.2+ and generated with no issue in 25.1. template error.docx (59.4 KB)
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-28015
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
PS: The problem is reproducible only if call Document.UpdateFields method explicitly before saving to PDF. Usualy this is not required, since fields are automatically updated upon rendering documents. So you can use the following code:
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.