I've been given the assignment to solve this problem. I do not have any prior experience working with aspose.word so please bear with my ignorance.
We have an application called webridge that is using aspose.word to watermark word documents. Problem is that the webridge program produces the following error message when attempting to watermark the document.
Could not execute the Process Documents activity due to one or more errors:
Aspose.Asposeword.reflectedInvokeMethod: com.webridge.wom.WOMImplementationError: Asposeword.protectWordDocument() Exception occurred com.webridge.wom.WOMImplementationError: Aspose.Asposeword.getDocument() Exception occurred java.lang.IllegalArgumentException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
The above is only one example of the type of error message that is generated. (I've been told that there are some others.) Anyway, can you tell by the error message here, what may be causing this particular error.
Also, since these are all word documents, would first converting the file to a pdf using aspose.pdf and then watermarking the resultant pdf file be a doable alternative? In case we can't get aspose.word to watermark the word document.
This error has been going on for several months and now that it has been dropped into my lap, there are a lot of irrate users. Any help you can give is much appreciated.
Would it help if I were to upload a sample word document?