UpdateFields method of Document failing

Hi,

We have one application that does more or less the following.

Document document = new Document(MyDir + "beforeMacrosRemoved.dot");
...
document.UpdateFields();
...
document.UpdateFields();
...

However, it fails with System.InvalidOperation exception = “Master value already initialized.”

Could you please tell why this is the case for the attached failing.zip (19.9 KB)
document?

Thank you,
Łukasz

@acturisaspose,

We tested the scenario and managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17793. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Hi,

Could you please let us know if there is any workaround for this issue? How to catch it and process differently?

Thanks,
Lukasz

@acturisaspose,

Unfortunately, your issue is not resolved yet and there is no workaround available at the moment. We will inform you via this thread as soon as this issue is resolved or any workaround is available. We apologize for your inconvenience.