Custom UI Runtime Error in Zotero.dotm

dstillman Zotero Team
This discussion was created from comments split from: Word for Windows: "Zotero experienced an error updating your document".
  • @dstillman

    I had two separate issues here.

    First, in addition to the Windows update issue, Norton also seems to interfere with the Zotero update process on my system. In my case, Norton Behavioral Protection started blocking executables launched from the TEMP folder. This prevented the Zotero updater from completing the post-update step.

    Second, the “Custom UI Runtime Error in Zotero.dotm” error - specifically, “An error occurred while loading image with relationship ID zoteroz16” - was not resolved for me by reinstalling or updating Zotero. - (MSWORD 2021 x64)

    I was able to fix it only by manually editing Zotero.dotm as an archive. In my installed Zotero.dotm, customUI/customUI.xml contained a reference to image="zoteroz16", but there was no corresponding relationship with Id="zoteroz16" in customUI/_rels/customUI.xml.rels. I added my own zoteroz16.png icon and added the missing relationship in customUI.xml.rels. After that, the Word plugin started working normally.

    Best regards,
    Andrey
  • dstillman Zotero Team
    Based on previous posts, you were already running a custom version of Zotero.dotm.

    We can't provide any support here for customized builds.

    You should make sure you've tested with the actual current version of Zotero.dotm by following step 3 here (re: deleting Zotero.dotm and making sure it's gone from Word):

    https://www.zotero.org/support/word_processor_plugin_troubleshooting#windows
  • dstillman Zotero Team
    (It looks like this specific error is indeed a bug, but it only appears if you've enabled "Show add-in user interface errors" in Word. Presumably you did that because you were making custom changes to templates previously.)
  • Dear @dstillman

    Thank you for your reply and for checking this.

    I would like to clarify one point. For MS Office 2021, I was not using a customized Zotero.dotm. It was the original Zotero.dotm from the current Zotero installation. The customized template mentioned in my previous posts was used only for a separate legacy MS Office 2003 setup.

    I enabled “Show add-in user interface errors” deliberately, because I prefer to see such errors instead of having them hidden. In this case, the message helped identify the missing image relationship in the template.

    Thank you for confirming that this specific issue is a bug. I hope the details I provided were helpful.

    Best regards,
    Andrey
Sign In or Register to comment.