Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UAC causing "An unhandled exception occured"? #75

Open
dstillman opened this issue Aug 10, 2024 · 5 comments
Open

UAC causing "An unhandled exception occured"? #75

dstillman opened this issue Aug 10, 2024 · 5 comments
Assignees

Comments

@dstillman
Copy link
Member

We had numerous reports of this last fall and earlier this year, and changing the UAC level seemed to fix it:

https://forums.zotero.org/discussion/108682/zotero-experienced-an-error-updating-your-document

We're now getting new reports with the Zotero 7 release:

https://forums.zotero.org/discussion/116633/zotero-integration-error-zotero-7
https://forums.zotero.org/discussion/116675/when-using-zoteros-word-plugin-an-error-occurs

(There was another report that setting the app compatibility setting to Windows 8 fixed it, but I would guess that was just another way of affecting UAC, and it seems like a bad idea regardless.)

@dstillman
Copy link
Member Author

dstillman commented Aug 12, 2024

(The person in the top thread implied that the UAC adjustments didn't work for them, but hard to know if that's true.)

@dstillman
Copy link
Member Author

@adomasven
Copy link
Member

I can reproduce by setting \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA to 0 and restarting Windows.

Docs:

It seems that somehow Zotero 7 no longer having SeImpersonatePrivilege enabled (https://bugzilla.mozilla.org/show_bug.cgi?id=1606414) makes access to Running Object Table (ROT) not work. RotView-x64.exe utility tool used to examine the ROT has the privilege enabled, as well as Zotero 6.

I think we should tell people to set EnableLUA to 1 and not run their machines in a severely security-compromised way, instead of trying to address this in any meaningful way. On the other hand I don't think this should be a general troubleshooting step. Maybe we need to link to a separate troubleshooting page for the "Unable to find a running Word instance" error with different troubleshooting steps: OneDrive (although maybe no longer relevant) path, and this.

@dstillman
Copy link
Member Author

Splitting out troubleshooting for specific errors sounds like a good idea.

@adomasven
Copy link
Member

adomasven commented Aug 12, 2024

Setting UAC to any level above the lowest one (unfortunately, they are not named) and restarting the computer fixes this.

2024-08-12_13-29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants