I have an Access application developed in 2013. When I select the Word 15 object library to open Word documents in my development environment it works fine.
When I put the file on the client's machine, which is running Access and Word 2010, it throws an error saying that it cannot find the Word 15 reference.
If I go in and uncheck the Word 15 reference and check the Word 14 reference, it will start without errors, but when I try to generate a letter in Word 2010 from Access 2010, it throws an error:
"cmdDraftLetter_Click: -2147024156 Automation error The requested operation requires elevation"
The error only happened on one account on this machine. The Administrator account and two other user accounts did not invoke the error.
I checked the user account level and found it was an Administrator. I checked to make sure that they were actually in the Administrators group. None of this solved my issue.
答案 0 :(得分:0)
winword被勾选为"以管理员身份运行"。
msaccess不是。
勾选"以管理员身份运行" for msaccess解决了Elevation问题。