Free Support Forum - aspose.com

Bookmarks not found when referenced during run-time

I have bookmarks setup in a word doc and then I am opening it up in asp.net and hitting specific bookmarks to insert text. It finds the first 5 and then fails to find anymore. When I open the word doc, I can see all the bookmarks and the are tagged with the same key that I am referencing them with during run-time.
This message was posted using Aspose.Live 2 Forum

Hi,

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

Thanks for your inquiry. Most likely, you use Aspose.Words in evaluation mode and document is truncated. There is evaluation limitation of maximum number of paragraphs in the document. You should see the following text in the output documents.

This document was truncated here because it was created using Aspose.Words in Evaluation Mode.

That is why you see only part of all bookmarks in the document.

If you want to test Aspose.Words without the evaluation version limitations, you can request a 30-day Temporary License. Please refer to

http://www.aspose.com/corporate/purchase/faqs/temporary-license.aspx

If you already have the license, please make sure you applied it correctly as described here:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/applying-a-license.html

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/when-to-apply-a-license.html

If this does not help, please attach your document here for testing.

Best regards.