Free Support Forum - aspose.com

Word Doc that will not convert

Hi, I have a word doc that will not convert to .PDF, all my other ones will convert fine.

See the below stack trace, any help in this would be greatly appriciated.

Running the 9.4 .DLL

Message: Value cannot be null. Parameter name: position
Source: Aspose.Words
Stack Trace: at x6c95d9cf46ff5f25.x0d299f323d241756.x0aaaea7864a53f26(Object xbcea506a33cf9111, String xae050273e3024171) at x4adf554d20d941a6.xeefdffd909e695da.x35660b2c6a07f849(x5015a0e79fc04a51 x13d4cb8d1bd20347) at x4adf554d20d941a6.xeefdffd909e695da.xef23aa45e7612fdd(x5015a0e79fc04a51 x13d4cb8d1bd20347, x56410a8dd70087c5 x5906905c888d3d98) at x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, xdeb77ea37ad74c56 xdfde339da46db651) at Aspose.Words.Document.UpdatePageLayout() at Aspose.Words.Document.get_xcde671c53995c411() at Aspose.Words.Document.get_PageCount() at x6a671772ec29137f.xcd769e39c0788209.x8cac5adfe79bc025(x8556eed81191af11 x5ac1382edb7bf2c2) at Aspose.Words.Document.xf381a641001e6830(Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions xc27f01f21f67608c) at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions) at Aspose.Words.Document.Save(String fileName)

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Could you please attach your document here for testing? I will check the issue and provide you more information.

Best regards,

Hi Alexey,

This is a confidential contract, so I am not going to be able to attach the word document, sorry

All the other document is working though.

The only difference I can see in the word document compared to the other ones, is that this document has bookmarks attached to it.

Thanks,

Thomas

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You can remove sensitive information from your document or replace sensitive information with dummy data and attach the document here for testing. It is safe to attach files in the forum, only you and Aspose staff can download the attached documents.

Best regards.