27-10-2015 04:54 PM
Hello All,
I am wondering if anyone has encounter the error message below when trying to generate a document in MEGA using rtf descriptors.
Error Invoking Word Macro #66h: You have exceeded the maximum number of pages supported by Microsoft Word or this document may be damaged."
This has occurred after a recent upgrade from CP0 to CP11. Oddly, after this message displays, I can view my document and it looks ok. However it takes almost an hour to generate one document so its obviously getting stuck at this point. It occurs during the "updating styles" part of the generation.
Any help would be greatly appreciated.
Thanks,
Aaron
24-11-2015 06:00 PM
Jerome,
I have figured out what is causing the error. Its the "Table of Contents" we have added to our Document Template. If I remove it I get no problems. Have you come across this before?
Aaron
30-10-2015 03:24 PM
Hello Aaron
Thanks for your feedback. I understand you have solved the issue.
I understand you have developped again the report template (MS Word) from scratch
The cause is not clear. I can try an hypothesis.
Unless I am mistaken you did not developp again the RTF descriptor. We could then assume that the issue is located in the body of the report template (MS Word). Probaby the RTF code has become invalid at some point. It could be caused by a copy paste from an external source.
29-10-2015 06:31 PM
Jerome,
I tried your solution and purging the descriptors but could not fix it. I have managed to get around the issue by creating a brand new document template instead of working with the old one that was causing issues. I think it is something to do with the Word Version being useed on the old template as it won't update to my new version of word whereas my new template does.
I have noticed one additional error where if a user has copy and pasted a table into an objects comment box, the template keeps looping it over and over when a document generates. Do you know why this might be happening?
Kind Regards,
Aaron
28-10-2015 03:30 PM - edited 28-10-2015 03:31 PM
Thanks Jerome I'll give your suggestions a shot and let you know.
Kind Regards,
Aaron
27-10-2015 06:12 PM
Hello Scriv1989
If the error occurs repeatedly, it can be
Slow performances can caused by large volume of data
It can also be an incorrect definition of RTF descriptors
See this KB http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=50120000000mqTcAAI